Skip to content

Commit

Permalink
add cache check, debug step
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarlow12 committed Oct 22, 2024
1 parent 65d59fc commit 0482b29
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/opgee-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- uses: actions/checkout@v4
- name: Cache pip dependencies
uses: actions/cache@v3
id: pip-cache
with:
path: ~/.cache/pip
key:
Expand All @@ -49,11 +50,15 @@ jobs:
- name: Update Conda env
run: |
conda env update -n opgee -f $opgee_linux_yml
pip install -e .
if: steps.opgee-env-cache.outputs.cache-hit != 'true'
- name: Install pip deps
run: |
pip install -e .
pip install pytest-cov codecov coveralls PyYAML
if: steps.pip-cache.outputs.cache-hit != 'true'
- name: Check setuptools
run: pip show setuptools
- name: Run unit tests with coverage
run: coverage run --source=opgee -m pytest
- name: Code coverage report
Expand Down

0 comments on commit 0482b29

Please sign in to comment.