Update strategy, components, data, and visualizations; enhance compli… #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: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - 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 | |
| pip install -r requirements.txt | |
| - name: Lint with flake8 | |
| run: | | |
| pip install flake8 | |
| flake8 src/ --count --select=E9,F63,F7,F82 --show-source --statistics | |
| - name: Check formatting with black | |
| run: | | |
| pip install black | |
| black --check src/ | |
| - name: (Optional) Run tests | |
| run: | | |
| echo "No test suite found. Add tests/ and update this step." |