diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1a355d3..4255342 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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