Update README and assets #2
Workflow file for this run
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 Tests & Coverage | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test_and_cover: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run tests & coverage | |
| run: | | |
| pip install -r requirements.txt -r requirements-dev.txt | |
| docker compose up -d | |
| coverage erase | |
| coverage run -m pytest tests/ -v | |
| coverage report -m | |
| coverage xml | |
| docker compose down | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| verbose: true |