Skip to content

Commit

Permalink
Made macos 3.8 report to coverage instead of 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
spirosmaggioros committed Aug 14, 2024
1 parent de66a0a commit 037aeeb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/macos_test_cases_p3-12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
10 changes: 8 additions & 2 deletions .github/workflows/macos_test_cases_p3-8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 037aeeb

Please sign in to comment.