Gate solver-dependent viz tests and assert catalog hard-fail #322
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: pytest | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up micromamba | |
| uses: mamba-org/setup-micromamba@v1 | |
| with: | |
| environment-file: environment.yaml | |
| environment-name: amrex-agent-dev | |
| cache-environment: true | |
| cache-downloads: true | |
| - name: Run unit tests | |
| run: | | |
| micromamba run -n amrex-agent-dev pytest tests/unit | |
| - name: Run quality tests | |
| run: | | |
| micromamba run -n amrex-agent-dev pytest tests/quality | |
| integration-ladder: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| level: [integration_l1, integration_l2, integration_l3, integration_l4, integration_full] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up micromamba | |
| uses: mamba-org/setup-micromamba@v1 | |
| with: | |
| environment-file: environment.yaml | |
| environment-name: amrex-agent-dev | |
| cache-environment: true | |
| cache-downloads: true | |
| - name: Run integration ladder tests | |
| run: | | |
| micromamba run -n amrex-agent-dev \ | |
| pytest tests/integration -m "${{ matrix.level }}" -v |