Skip to content

Commit

Permalink
pip installing pytest on macos tests
Browse files Browse the repository at this point in the history
trying Tiryoh/gha-jobid-action@v1 to get job id on Windows.
  • Loading branch information
Rory Barnes committed Oct 24, 2023
1 parent ab52c83 commit 2e436a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
run: |
python3 -m pip install -U pip
python3 -m pip install -e .
pip install pytest pytest-cov
- name: Run tests and generate coverage
if: steps.install.outcome == 'success'
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,8 @@ jobs:
make test
- name: Get unique id
id: unique-id
env:
STRATEGY_CONTEXT: ${{ toJson(strategy) }}
run: |
export JOB_ID=`echo $STRATEGY_CONTEXT | md5sum`
echo "::set-output name=id::$JOB_ID"
uses: Tiryoh/gha-jobid-action@v1
id: jobs

- name: Publish unit test results
uses: EnricoMi/publish-unit-test-result-action/composite@v2
Expand Down

0 comments on commit 2e436a4

Please sign in to comment.