Skip to content

Gate solver-dependent viz tests and assert catalog hard-fail #322

Gate solver-dependent viz tests and assert catalog hard-fail

Gate solver-dependent viz tests and assert catalog hard-fail #322

Workflow file for this run

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