Skip to content

Commit

Permalink
Upgrade tj-action/glob action to v15
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed Oct 25, 2022
1 parent 6fe28de commit 4f4b4c3
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ jobs:

# This is needed because Windows terminal cannot expand `pip install galois-*.whl`
- name: Get wheel file name
uses: tj-actions/glob@v10
uses: tj-actions/glob@v15
id: glob
with:
files: dist/galois-*.whl
files: galois-*.whl
working-directory: dist/

- name: Install the `galois` package wheel with upgraded [dev]
run: python3 -m pip install --upgrade ${{ steps.glob.outputs.paths }}[dev]
run: python3 -m pip install --upgrade dist/${{ steps.glob.outputs.paths }}[dev]

- name: Test with pytest
run: python3 -m pytest --showlocals -n auto --cov=galois --cov-report=xml tests/
Expand Down Expand Up @@ -97,16 +98,17 @@ jobs:

# This is needed because Windows terminal cannot expand `pip install galois-*.whl`
- name: Get wheel file name
uses: tj-actions/glob@v10
uses: tj-actions/glob@v15
id: glob
with:
files: dist/galois-*.whl
files: galois-*.whl
working-directory: dist/

- name: Install minimum package dependencies
run: python3 -m pip install -r requirements-min.txt

- name: Install the `galois` package wheel with [dev]
run: python3 -m pip install ${{ steps.glob.outputs.paths }}[dev]
run: python3 -m pip install dist/${{ steps.glob.outputs.paths }}[dev]

- name: Test with pytest
run: python3 -m pytest --showlocals -n auto tests/
Expand Down Expand Up @@ -146,13 +148,14 @@ jobs:

# This is needed because Windows terminal cannot expand `pip install galois-*.whl`
- name: Get wheel file name
uses: tj-actions/glob@v10
uses: tj-actions/glob@v15
id: glob
with:
files: dist/galois-*.whl
files: galois-*.whl
working-directory: dist/

- name: Install the `galois` package wheel with upgraded [dev]
run: python3 -m pip install --upgrade ${{ steps.glob.outputs.paths }}[dev]
run: python3 -m pip install --upgrade dist/${{ steps.glob.outputs.paths }}[dev]

- name: Test with pytest
run: python3 -m pytest --showlocals -n auto tests/
Expand Down

0 comments on commit 4f4b4c3

Please sign in to comment.