Skip to content

Commit

Permalink
Changed make coverage so as not to cause errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rory Barnes committed Sep 6, 2024
1 parent 887fe0f commit ae96e59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pip-install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:

- name: Install cibuildwheel
run: |
python -m pip install -U pip
python -m pip install cibuildwheel
- name: Build wheel on Linux
Expand Down
13 changes: 6 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,12 @@ test:
-pytest --tb=short

coverage:
rm -f ./gcov/*.gcda ./gcov/*.gcno ./.coverage
mkdir -p ./gcov
cd gcov && gcc -coverage -o ./../bin/vplanet ./../src/*.c -lm
pwd
python -m pytest --tb=short tests --junitxml=./junit/test-results.xml
lcov --capture --directory ./gcov --output-file ./.coverage
genhtml ./.coverage --output-directory ./gcov/html
-rm -f ./gcov/*.gcda ./gcov/*.gcno ./.coverage
-mkdir -p ./gcov
-cd gcov && gcc -coverage -o ./../bin/vplanet ./../src/*.c -lm
-python -m pytest --tb=short tests --junitxml=./junit/test-results.xml
-lcov --capture --directory ./gcov --output-file ./.coverage
-genhtml ./.coverage --output-directory ./gcov/html

docs:
-make -C docs html && echo 'Documentation available at `docs/.build/html/index.html`.'
Expand Down

0 comments on commit ae96e59

Please sign in to comment.