Skip to content

Commit 1d0befc

Browse files
authored
Merge pull request #163 from arvkevi/ci/fix_macos_ci
Attempt to fix CI
2 parents ea2f90f + 92100f2 commit 1d0befc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/tests.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ jobs:
1010
matrix:
1111
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
1212
os: [ubuntu-latest, macos-latest, windows-latest]
13+
exclude: # Python < v3.8 does not support Apple Silicon ARM64.
14+
- python-version: "3.7"
15+
os: macos-latest
16+
include: # So run those legacy versions on Intel CPUs.
17+
- python-version: "3.7"
18+
os: macos-13
1319
env:
1420
OS: ${{ matrix.os }}
1521
PYHTHON: ${{ matrix.python-version }}
@@ -29,9 +35,10 @@ jobs:
2935
pip uninstall -y matplotlib
3036
pytest --cov=kneed --cov-report=xml:coverage2.xml tests/test_no_matplotlib.py
3137
- name: Upload coverage to Codecov
32-
uses: codecov/codecov-action@v3
38+
uses: codecov/codecov-action@v4
3339
with:
3440
env_vars: OS,PYTHON
41+
token: ${{ secrets.CODECOV_TOKEN }} # required
3542
fail_ci_if_error: true
3643
flags: unittests
3744
name: codecov-umbrella

0 commit comments

Comments
 (0)