Skip to content

Commit

Permalink
Merge pull request #2 from janbrasna/add/ci-matrix
Browse files Browse the repository at this point in the history
Expand compatibility to Python 3.10–3.13
  • Loading branch information
jkbrzt authored Nov 1, 2024
2 parents a355b74 + 486cff8 commit e94a03e
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 11 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
name: test
on: [push]
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12', '3.13']
node: [16, 18, 20, 22]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/setup-node@v1
python-version: ${{ matrix.python-version }}
cache: pip
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: npm
- run: make install
- run: make test
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ release: release-py release-js

install-py:
poetry --version || python3 -m pip install poetry
poetry env use python3.11
poetry install

install-js:
Expand Down
33 changes: 30 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ include = ["LICENSE", "README.md"]
crosshash-py = 'crosshash:main'

[tool.poetry.dependencies]
python = "^3.11"
python = "^3.10"


[tool.poetry.group.dev.dependencies]
Expand Down

0 comments on commit e94a03e

Please sign in to comment.