Skip to content

Commit e82784d

Browse files
Merge pull request #1 from GiorgioMedico/3.10+
3.10+
2 parents f728bd2 + 6813678 commit e82784d

File tree

10 files changed

+517
-338
lines changed

10 files changed

+517
-338
lines changed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: '3.11'
16+
python-version: '3.10'
1717
- uses: pre-commit/action@v3.0.1

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up Python
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: '3.11'
15+
python-version: '3.10'
1616
- name: Install dependencies
1717
run: |
1818
python -m pip install --upgrade pip

.github/workflows/test.yml

Lines changed: 33 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
name: ci-test
23

34
on:
@@ -9,34 +10,40 @@ on:
910
jobs:
1011
build-linux:
1112
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
python-version: ['3.10', '3.11', '3.12']
1216
steps:
13-
- uses: actions/checkout@v4
14-
- name: Set up Python 3.11
15-
uses: actions/setup-python@v5
16-
with:
17-
python-version: 3.11
18-
- name: Install dependencies
19-
run: |
20-
python -m pip install --upgrade pip
21-
pip install -r requirements-dev.txt
22-
pip install -e .
23-
- name: Testing
24-
run: |
25-
python -m pytest tests
17+
- uses: actions/checkout@v4
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v5
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
- name: Install dependencies
23+
run: |
24+
python -m pip install --upgrade pip
25+
pip install -r requirements-dev.txt
26+
pip install -e .
27+
- name: Testing
28+
run: |
29+
python -m pytest tests
2630
2731
build-macos:
2832
runs-on: macos-latest
33+
strategy:
34+
matrix:
35+
python-version: ['3.10', '3.11', '3.12']
2936
steps:
30-
- uses: actions/checkout@v4
31-
- name: Set up Python 3.11
32-
uses: actions/setup-python@v5
33-
with:
34-
python-version: 3.11
35-
- name: Install dependencies
36-
run: |
37-
python -m pip install --upgrade pip
38-
pip install -r requirements-dev.txt
39-
pip install -e .
40-
- name: Testing
41-
run: |
42-
python -m pytest tests
37+
- uses: actions/checkout@v4
38+
- name: Set up Python ${{ matrix.python-version }}
39+
uses: actions/setup-python@v5
40+
with:
41+
python-version: ${{ matrix.python-version }}
42+
- name: Install dependencies
43+
run: |
44+
python -m pip install --upgrade pip
45+
pip install -r requirements-dev.txt
46+
pip install -e .
47+
- name: Testing
48+
run: |
49+
python -m pytest tests

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repos:
2121
- id: black
2222

2323
- repo: https://github.com/astral-sh/ruff-pre-commit
24-
rev: 'v0.11.0'
24+
rev: 'v0.11.10'
2525
hooks:
2626
- id: ruff
2727
types_or: [python, pyi, jupyter]
@@ -32,3 +32,5 @@ repos:
3232
hooks:
3333
- id: mypy
3434
args: [--ignore-missing-imports]
35+
36+
# pre-commit autoupdate

0 commit comments

Comments
 (0)