Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 11 additions & 29 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,30 @@
name: Tests
name: Test node

on: [push]

jobs:
test:
name: Test ${{ matrix.python }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest

python:
- "3.8"
- "3.9"
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "pypy3.9"
- "3.14"

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5

- name: Set up Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

- name: Install
run: |
pip install coverage
pip install -e .[test]
python-version: ${{ matrix.python-version }}

- name: Run tests
run: |
python --version
pytest src/node/tests
- name: Show Python version
run: python -c "import sys; print(sys.version)"

- name: Run coverage
run: |
coverage run --source=src/node --omit=src/node/testing/profiling.py -m pytest src/node/tests
coverage report --fail-under=100
- name: Run tests an collect code coverage
run: make coverage
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
/.coverage
/.mxmake
/.ruff_cache
/.venv
/build
/constraints-mxdev.txt
/dist/
/htmlcov/
/requirements-mxdev.txt
/sources/
/venv/
5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
Changes
=======

1.2.3 (unreleased)
2.0.0 (unreleased)
------------------

- Refactor package layout to use ``pyproject.toml`` and implecit namespace packages.
[rnix]

- Fix ``Node.treerepr`` if mapping raises an exception on ``__getitem__``.
[rnix]

Expand Down
4 changes: 0 additions & 4 deletions MANIFEST.in

This file was deleted.

Loading