| 1 | name: unit tests |
| 2 | |
| 3 | on: [push, pull_request, workflow_dispatch] |
| 4 | |
| 5 | jobs: |
| 6 | push-pr-unit-tests: |
| 7 | name: unit tests |
| 8 | strategy: |
| 9 | fail-fast: false |
| 10 | matrix: |
| 11 | python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] |
| 12 | uses: ./.github/workflows/reusable-unit-tests.yml |
| 13 | secrets: |
| 14 | CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |
| 15 | with: |
| 16 | python-version: ${{ matrix.python-version }} |
| 17 | push-pr-unit-tests-docker: |
| 18 | name: Docker Unit Tests |
| 19 | uses: ./.github/workflows/reusable-unit-tests-docker.yml |
| 20 | build-and-release: |
| 21 | name: Release to Pypi |
| 22 | needs: push-pr-unit-tests |
| 23 | if: github.event_name == 'push' && github.repository == 'labgrid-project/labgrid' |
| 24 | uses: ./.github/workflows/build-and-release.yml |
| 25 | secrets: inherit |