Polish GEX terminal runtime and docs #2
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| smoke-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -r requirements.txt | |
| - name: Compile source | |
| run: python -m compileall . | |
| - name: Run tests | |
| run: python -m unittest discover -s tests | |
| - name: Check CLI help | |
| run: python main.py --help | |
| - name: Export screenshot smoke test | |
| run: | | |
| python main.py --demo --screenshot /tmp/gex-terminal-ci.svg | |
| test -s /tmp/gex-terminal-ci.svg |