Skip to content

Commit

Permalink
build(code-cover.yml): Don't need a second environment for this code
Browse files Browse the repository at this point in the history
coverage testing.
  • Loading branch information
rbeyer committed Jul 11, 2024
1 parent 342c36d commit 3d20ed2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/code-cover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- usgs-astrogeology
- conda-forge
channel-priority: flexible
- name: Checkout
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
Expand All @@ -38,13 +38,9 @@ jobs:
- name: Download IMG
run: curl "https://hirise-pds.lpl.arizona.edu/PDS/EDR/PSP/ORB_010500_010599/PSP_010502_2090/PSP_010502_2090_RED5_0.IMG" -o $GITHUB_WORKSPACE/test-resources/PSP_010502_2090_RED5_0.img
- name: Install kalasiris
run: |
micromamba create --name kal
micromamba activate kal
pip install -e .
run: pip install -e .
- name: Test with pytest and generate coverage report
run: |
micromamba activate kal
micromamba install -y pytest
micromamba install -y pytest-cov
export ISISROOT=$MAMBA_ROOT_PREFIX/envs/isis
Expand Down

0 comments on commit 3d20ed2

Please sign in to comment.