Skip to content

Commit

Permalink
use micromamba list
Browse files Browse the repository at this point in the history
  • Loading branch information
zacharyburnett committed Jun 18, 2024
1 parent 3edc8aa commit 3fa86ed
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ jobs:
# TODO: figure out a better way to use package version when checking out a Git ref
- run: micromamba install tox
- run: |
micromamba env export --no-build | grep -v "name:" | grep -v "prefix:"
pip freeze
micromamba list
pip list | grep -v " @ file"
- if: matrix.env.CRDS_SERVER_URL != ''
run: echo "context=$(crds list --operational-context)" >> $GITHUB_OUTPUT
id: crds-context
Expand Down Expand Up @@ -161,8 +161,8 @@ jobs:
- if: matrix.extras != ''
run: pip install "${{ matrix.package }}[${{ join(matrix.extras, ',') }}]"
- run: |
micromamba env export --no-build | grep -v "name:" | grep -v "prefix:"
pip freeze
micromamba list
pip list | grep -v " @ file"
- if: matrix.env.CRDS_SERVER_URL != ''
run: echo "context=$(crds list --operational-context)" >> $GITHUB_OUTPUT
id: crds-context
Expand Down Expand Up @@ -240,8 +240,8 @@ jobs:
run: pip install -e ".[${{ join(matrix.extras, ',') }}]"
working-directory: ${{ matrix.package }}
- run: |
micromamba env export --no-build | grep -v "name:" | grep -v "prefix:"
pip freeze
micromamba list
pip list | grep -v " @ file"
- if: matrix.env.CRDS_SERVER_URL != ''
run: echo "context=$(crds list --operational-context)" >> $GITHUB_OUTPUT
id: crds-context
Expand Down Expand Up @@ -307,8 +307,8 @@ jobs:
- run: micromamba install -y filelock requests
- run: pip install parsely roman-datamodels git+https://github.com/spacetelescope/jwst
- run: |
micromamba env export --no-build | grep -v "name:" | grep -v "prefix:"
pip freeze
micromamba list
pip list | grep -v " @ file"
- run: echo "version=$(pip list | awk '$1 == "${{ matrix.package }}" {print $2}')" >> $GITHUB_OUTPUT
id: package_version
# TODO: figure out a better way to use package version when checking out a Git ref
Expand Down Expand Up @@ -381,8 +381,8 @@ jobs:
- if: matrix.extras != ''
run: pip install ".[${{ join(matrix.extras, ',') }}]"
- run: |
micromamba env export --no-build | grep -v "name:" | grep -v "prefix:"
pip freeze
micromamba list
pip list | grep -v " @ file"
- if: matrix.env.CRDS_SERVER_URL != ''
run: echo "context=$(crds list --operational-context)" >> $GITHUB_OUTPUT
id: crds-context
Expand Down

0 comments on commit 3fa86ed

Please sign in to comment.