test: make nice pytest reports on github (#2376)

* test: make nice pytest reports on github
utilizing this action: https://github.com/pavelzw/pytest-action/
This commit is contained in:
dni ⚡ 2024-04-05 08:35:51 +02:00 committed by GitHub
parent 820882db28
commit 209e2c5bff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 89 additions and 18 deletions

View file

@ -21,20 +21,18 @@ jobs:
uses: ./.github/workflows/tests.yml
with:
python-version: ${{ matrix.python-version }}
db-url: ${{ matrix.db-url }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
migrations:
migration:
needs: [ lint ]
strategy:
matrix:
python-version: ["3.9"]
uses: ./.github/workflows/tests.yml
python-version: ["3.9", "3.10"]
uses: ./.github/workflows/migration.yml
with:
make: test-migration
db-name: migration
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
python-version: ${{ matrix.python-version }}
openapi:
needs: [ lint ]