Skip to content

Commit

Permalink
Update GH actions to run different marked functions
Browse files Browse the repository at this point in the history
  • Loading branch information
oshadura committed Feb 13, 2024
1 parent 86c2a33 commit d4f8d4f
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,22 @@ jobs:
exit 1
fi
- name: Test Pytest environement
- name: Test Pytest environement v0
if: ${{ matrix.image_dir = 'coffea-basev0' }}
env:
tag: ${{ steps.tags.outputs.tag }}
run: |
docker run --rm -v ${{ github.workspace }}:/tmp/workspace ${tag} \
sh -c "pip install -U pytest && cd tmp/workspace && pytest"
sh -c "pip install -U pytest && cd tmp/workspace && pytest -m coffeav0"
- name: Test Pytest environement CalVer
if: ${{ matrix.image_dir != 'coffea-basev0' }}
env:
tag: ${{ steps.tags.outputs.tag }}
run: |
docker run --rm -v ${{ github.workspace }}:/tmp/workspace ${tag} \
sh -c "pip install -U pytest && cd tmp/workspace && pytest -m coffeacalver"
- name: Build and push v0
if: ${{ matrix.image_dir != 'coffea-basev0' }}
Expand Down

0 comments on commit d4f8d4f

Please sign in to comment.