Skip to content

Commit d320d7e

Browse files
authored
Merge pull request #25 from conestack/refactor-package-layout
Refactor package layout
2 parents b6a5a4e + 2ba0e5a commit d320d7e

File tree

10 files changed

+309
-125
lines changed

10 files changed

+309
-125
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +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:
19-
- "3.8"
20-
- "3.9"
11+
python-version:
2112
- "3.10"
2213
- "3.11"
2314
- "3.12"
2415
- "3.13"
25-
- "pypy3.9"
16+
- "3.14"
2617

2718
steps:
28-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2920

30-
- name: Set up Python
21+
- name: Set up Python ${{ matrix.python-version }}
3122
uses: actions/setup-python@v5
3223
with:
33-
python-version: ${{ matrix.python }}
34-
35-
- name: Install
36-
run: |
37-
pip install coverage
38-
pip install -e .[test]
24+
python-version: ${{ matrix.python-version }}
3925

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

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

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
/.coverage
44
/.mxmake
55
/.ruff_cache
6-
/.venv
6+
/build
7+
/constraints-mxdev.txt
78
/dist/
89
/htmlcov/
910
/requirements-mxdev.txt
11+
/sources/
12+
/venv/

CHANGES.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
Changes
33
=======
44

5-
1.2.3 (unreleased)
5+
2.0.0 (unreleased)
66
------------------
77

8+
- Refactor package layout to use ``pyproject.toml`` and implecit namespace packages.
9+
[rnix]
10+
811
- Fix ``Node.treerepr`` if mapping raises an exception on ``__getitem__``.
912
[rnix]
1013

MANIFEST.in

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)