Skip to content

Commit f1da785

Browse files
committed
update github workflow
1 parent 9e237c1 commit f1da785

File tree

1 file changed

+10
-26
lines changed

1 file changed

+10
-26
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,30 @@
1-
name: Tests
1+
name: Test node
22

33
on: [push]
44

55
jobs:
66
test:
7-
name: Test ${{ matrix.python }} - ${{ matrix.os }}
8-
runs-on: ${{ matrix.os }}
7+
runs-on: ubuntu-latest
98

109
strategy:
11-
fail-fast: false
1210
matrix:
13-
os:
14-
- ubuntu-latest
15-
- windows-latest
16-
- macos-latest
17-
18-
python:
11+
python-version:
1912
- "3.10"
2013
- "3.11"
2114
- "3.12"
2215
- "3.13"
2316
- "3.14"
2417

2518
steps:
26-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2720

28-
- name: Set up Python
21+
- name: Set up Python ${{ matrix.python-version }}
2922
uses: actions/setup-python@v5
3023
with:
31-
python-version: ${{ matrix.python }}
32-
33-
- name: Install
34-
run: |
35-
pip install coverage
36-
pip install -e .[test]
24+
python-version: ${{ matrix.python-version }}
3725

38-
- name: Run tests
39-
run: |
40-
python --version
41-
pytest src/node/tests
26+
- name: Show Python version
27+
run: python -c "import sys; print(sys.version)"
4228

43-
- name: Run coverage
44-
run: |
45-
coverage run --source=src/node --omit=src/node/testing/profiling.py -m pytest src/node/tests
46-
coverage report --fail-under=100
29+
- name: Run tests an collect code coverage
30+
run: make coverage

0 commit comments

Comments
 (0)