Add demo.py example #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Installation | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: sudo apt install ccache python3.11-dev python3.11-venv | |
- run: sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 20 | |
- run: curl -sSL https://install.python-poetry.org | python3.11 - | |
- run: echo "~/.local/share/pypoetry/bin" >> $GITHUB_PATH | |
- run: poetry install | |
- run: >- | |
echo ' | |
alert | |
timmed_alert | |
error | |
banner | |
panic | |
' | poetry run python3 examples/demo.py |