Skip to content

Commit

Permalink
add pip freeze to jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Oct 14, 2022
1 parent 9da4c64 commit babad23
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
environment-file: stenv-${{ env.CONSTRAINT }}.yml
cache-env: true
cache-downloads: true
- run: pip freeze
- run: pytest -n auto tests/test_import.py
unit_tests:
name: run `${{ matrix.package }}` unit tests in ${{ github.event.inputs.constraint }} Python ${{ matrix.python }} environment on ${{ matrix.os }}
Expand Down Expand Up @@ -115,6 +116,7 @@ jobs:
if: matrix.extras != ''
- run: ${{ join(matrix.commands, ' && ') }}
if: matrix.commands != ''
- run: pip freeze
- run: echo "CRDS_CONTEXT=$(crds list --operational-context)" >> $GITHUB_ENV
if: matrix.env.CRDS_SERVER_URL != ''
env:
Expand Down Expand Up @@ -201,6 +203,9 @@ jobs:
ref: ${{ env.package_version }}
- run: cd ${{ matrix.package }} && pip install ".[${{ join(matrix.extras, ',') }}]"
if: matrix.extras != ''
- run: cd ${{ matrix.package }} && ${{ join(matrix.commands, ' && ') }}
if: matrix.commands != ''
- run: pip freeze
- run: echo "CRDS_CONTEXT=$(crds list --operational-context)" >> $GITHUB_ENV
if: matrix.env.CRDS_SERVER_URL != ''
env:
Expand Down Expand Up @@ -265,6 +270,11 @@ jobs:
environment-file: stenv-${{ env.CONSTRAINT }}.yml
cache-env: true
cache-downloads: true
- run: pip install ".[${{ join(matrix.extras, ',') }}]"
if: matrix.extras != ''
- run: ${{ join(matrix.commands, ' && ') }}
if: matrix.commands != ''
- run: pip freeze
- run: echo "CRDS_CONTEXT=$(crds list --operational-context)" >> $GITHUB_ENV
if: matrix.env.CRDS_SERVER_URL != ''
env:
Expand Down

0 comments on commit babad23

Please sign in to comment.