Allow detectors to be prepared multiple times within one run #5110
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 | |
| tags: | |
| - "*" | |
| pull_request: | |
| jobs: | |
| lint: | |
| uses: ./.github/workflows/_tox.yml | |
| with: | |
| tox: pre-commit,type-checking | |
| test: | |
| strategy: | |
| matrix: | |
| runs-on: ["ubuntu-latest", "windows-latest"] # can add macos-latest | |
| python-version: ["3.11", "3.12", "3.13"] | |
| test-config: | |
| - tests-path: "tests/unit_tests" | |
| needs-services: false | |
| - tests-path: "tests/system_tests" | |
| needs-services: true | |
| fail-fast: false | |
| uses: ./.github/workflows/_test.yml | |
| with: | |
| runs-on: ${{ matrix.runs-on }} | |
| python-version: ${{ matrix.python-version }} | |
| tests-path: ${{ matrix.test-config.tests-path }} | |
| needs-services: ${{ matrix.test-config.needs-services }} | |
| secrets: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| docs: | |
| uses: ./.github/workflows/_docs.yml | |
| dist: | |
| uses: ./.github/workflows/_dist.yml | |
| pypi: | |
| needs: [dist, test] | |
| if: github.ref_type == 'tag' | |
| uses: ./.github/workflows/_pypi.yml | |
| permissions: | |
| id-token: write | |
| codeql: | |
| uses: ./.github/workflows/_codeql.yml | |
| release: | |
| needs: [dist, test, docs] | |
| if: github.ref_type == 'tag' | |
| uses: ./.github/workflows/_release.yml | |
| permissions: | |
| contents: write |