Skip to content

Commit e011b42

Browse files
committed
CI: run unit tests using Py3.10 on macos-latest
1 parent 0801377 commit e011b42

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci-tests.yml

+30
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,36 @@ env:
1616

1717
jobs:
1818

19+
macos:
20+
name: CI test on macos-latest
21+
runs-on: macos-latest
22+
env:
23+
TOXENV: py310-unit
24+
steps:
25+
- uses: actions/checkout@v3
26+
with:
27+
fetch-depth: 0
28+
- name: Set up Python
29+
uses: actions/setup-python@v4
30+
with:
31+
python-version: "3.10"
32+
cache: pip
33+
cache-dependency-path: |
34+
requirements.txt
35+
tox.ini
36+
- name: Upgrade setuptools and install tox
37+
run: |
38+
pip install -U pip setuptools wheel
39+
pip install tox tox-gh-actions
40+
- name: Test with tox
41+
run: tox
42+
- name: Upload coverage to Codecov
43+
if: ${{ matrix.step == 'unit' }}
44+
uses: codecov/codecov-action@v3
45+
with:
46+
fail_ci_if_error: true
47+
48+
1949
tox:
2050
name: CI tests via Tox
2151

0 commit comments

Comments
 (0)