Skip to content

Commit

Permalink
Provide label in setup
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 committed Jul 12, 2024
1 parent bf5e806 commit cb34934
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/new_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,14 @@ defaults:

jobs:
non-continuum:
if: github.repository_owner == 'tardis-sn'
name: non-continuum-${{ inputs.run_label }}
runs-on: ${{ inputs.run_label }}
steps:
- name: Setup tardis
uses: ./.github/actions/setup_tardis
with:
os-label: ${{ inputs.run_label }}


- name: Run tests
run: pytest tardis ${{ env.PYTEST_FLAGS }} -m "not continuum"
Expand All @@ -59,12 +61,14 @@ jobs:
if: contains(github.event.pull_request.labels.*.name, 'run-generation-tests') || github.ref == 'refs/heads/master'

continuum_tests:
if: github.repository_owner == 'tardis-sn'
name: continuum-${{ inputs.run_label }}
runs-on: ${{ inputs.run_label }}
steps:
- name: Setup tardis
uses: ./.github/actions/setup_tardis
with:
os-label: ${{ inputs.run_label }}


- name: Run continuum tests
run: pytest tardis ${{ env.PYTEST_FLAGS }} -m continuum
Expand Down

0 comments on commit cb34934

Please sign in to comment.