fix: lib #3
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 - Pytest pipeline | |
| on: | |
| push: | |
| branches: ["master"] | |
| jobs: | |
| test: | |
| name: Run tests | |
| runs-on: ubuntu-latest | |
| env: | |
| PYTHONPATH: api-batch-test | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.14" | |
| cache: "pip" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r api-batch-test/requirements.txt | |
| - name: Run tests | |
| run: | | |
| pytest api-batch-test/tests | |
| - name: Upload test report artifact | |
| uses: actions/upload-artifact@v4 | |
| if: always() | |
| with: | |
| name: test-report-html | |
| path: reports/html1-report.html | |
| retention-days: 30 | |