Skip to content

Commit fb5894d

Browse files
committed
update github tests
1 parent fbaa104 commit fb5894d

File tree

2 files changed

+12
-26
lines changed

2 files changed

+12
-26
lines changed

.github/workflows/test.yaml

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,30 @@
1-
name: Tests
1+
name: Test node.ext.fs
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 -e .[test]
24+
python-version: ${{ matrix.python-version }}
3625

37-
- name: Run tests
38-
run: |
39-
python --version
40-
python -m node.ext.fs.tests
26+
- name: Show Python version
27+
run: python -c "import sys; print(sys.version)"
4128

42-
- name: Run coverage
43-
run: |
44-
coverage run --source=src/node/ext/fs -m node.ext.fs.tests
45-
coverage report --fail-under=100
29+
- name: Run tests an collect code coverage
30+
run: make coverage

mx.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ mxmake-source-path = src/plumber
6262
###############################################################################
6363

6464
[node]
65+
use = ${settings:checkout_packages}
6566
url = ${settings:cs}/node.git
6667
pushurl = ${settings:cs_push}/node.git
67-
branch = refactor-package-layout
68+
branch = ${settings:feature_branch}
6869
mxmake-test-path = src
6970
mxmake-source-path = src/node

0 commit comments

Comments
 (0)