-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made macos 3.8 report to coverage instead of 3.12
- Loading branch information
1 parent
de66a0a
commit 037aeeb
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: [push, pull_request, workflow_dispatch] | |
|
||
jobs: | ||
build: | ||
runs-on: ["macos-12"] | ||
runs-on: ["macos-13"] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -26,12 +26,6 @@ jobs: | |
run: | | ||
pip install setuptools twine wheel | ||
python -m pip install . | ||
- name: Generate Coverage Report | ||
- name: Run unit tests | ||
run: | | ||
pip install pytest-cov | ||
cd tests/unit && pytest --cov=../../ --cov-report=xml | ||
- name: Upload Coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: CBICA/spare_score | ||
cd tests/unit && python -m unittest discover -s . -p "*.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,12 @@ jobs: | |
pip install "$WHEEL_FILE" | ||
- name: Download dependencies | ||
run: pip install setuptools && pip install . | ||
- name: Run unit tests | ||
- name: Generate Coverage Report | ||
run: | | ||
cd tests/unit && python -m unittest discover -s . -p "*.py" | ||
pip install pytest-cov | ||
cd tests/unit && pytest --cov=../../ --cov-report=xml | ||
- name: Upload Coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
slug: CBICA/spare_score |