Complete Phase 3 market-structure metrics #4
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 -e . | |
| - name: Compile source | |
| run: python -m compileall main.py gex_terminal tests | |
| - name: Run tests | |
| run: python -m unittest discover -s tests | |
| - name: Check CLI help | |
| run: gex-terminal --help | |
| - name: Export screenshot smoke test | |
| run: | | |
| gex-terminal --demo --screenshot /tmp/gex-terminal-ci.svg | |
| test -s /tmp/gex-terminal-ci.svg |