Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typos in Makefile and pip-install.yml #310

Merged
merged 3 commits into from
Sep 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
More tweaks to make coverage
More tweaks to pip-install.yml

Added junit to .gitignore
  • Loading branch information
Rory Barnes committed Sep 6, 2024
commit cc482fa199cefb0fbf53b5bc08e520d98bdb1884
8 changes: 6 additions & 2 deletions .github/workflows/pip-install.yml
Original file line number Diff line number Diff line change
@@ -15,7 +15,9 @@ jobs:
- os: ubuntu-22.04
python-version: '3.6'
- os: macos-14
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: '3.6'
- os: macos-14
python-version: '3.7'
fail-fast: false

steps:
@@ -61,8 +63,10 @@ jobs:
exclude:
- os: ubuntu-22.04
python-version: '3.6'
- os: macos-14
python-version: '3.6'
- os: macos-14
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: '3.7'
fail-fast: false

steps:
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -30,6 +30,7 @@ tests/Vspace_Log/Log_Test/
*BP_CreateHDF5*
*BP_Extract*
*BP_Stats*
junit/

coverage.info
.coverage
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -70,8 +70,9 @@ test:
coverage:
rm -f ./gcov/*.gcda ./gcov/*.gcno ./.coverage
mkdir -p ./gcov
gcc -coverage -o ./bin/vplanet src/*.c -lm
python -m pytest --tb=short tests --junitxml=junit/test-results.xml
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