Skip to content

Commit e94a03e

Browse files
authored
Merge pull request #2 from janbrasna/add/ci-matrix
Expand compatibility to Python 3.10–3.13
2 parents a355b74 + 486cff8 commit e94a03e

File tree

4 files changed

+45
-11
lines changed

4 files changed

+45
-11
lines changed

.github/workflows/test.yml

+14-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
1-
name: test
2-
on: [push]
1+
name: Test
2+
on: [push, pull_request]
33
jobs:
44
test:
55
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
python-version: ['3.10', '3.11', '3.12', '3.13']
9+
node: [16, 18, 20, 22]
610
steps:
7-
- uses: actions/checkout@v1
8-
- uses: actions/setup-python@v4
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-python@v5
913
with:
10-
python-version: '3.11'
11-
- uses: actions/setup-node@v1
14+
python-version: ${{ matrix.python-version }}
15+
cache: pip
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: ${{ matrix.node }}
19+
cache: npm
1220
- run: make install
1321
- run: make test

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ release: release-py release-js
1313

1414
install-py:
1515
poetry --version || python3 -m pip install poetry
16-
poetry env use python3.11
1716
poetry install
1817

1918
install-js:

poetry.lock

+30-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ include = ["LICENSE", "README.md"]
1414
crosshash-py = 'crosshash:main'
1515

1616
[tool.poetry.dependencies]
17-
python = "^3.11"
17+
python = "^3.10"
1818

1919

2020
[tool.poetry.group.dev.dependencies]

0 commit comments

Comments
 (0)