Skip to content

Commit 3139394

Browse files
committed
workflow py3.{8..=11} (OS) 🛠️
1 parent c8e73bc commit 3139394

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/python-package.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,18 @@ on:
1010
- cron: "45 8 * * 4"
1111

1212
jobs:
13-
build-linux:
14-
runs-on: ubuntu-latest
13+
build:
14+
name: Package for ${{ matrix.os }} Python ${{ matrix.python-version }}
15+
runs-on: ${{ matrix.os }}
1516
strategy:
1617
fail-fast: false
17-
max-parallel: 5
18+
max-parallel: 4
1819
matrix:
19-
python-version: ["3.10", "3.11"]
20+
os: [ubuntu-latest, windows-latest]
21+
python-version: ["3.8", "3.9", "3.10", "3.11"]
2022

2123
steps:
22-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2325
- name: Set up Python ${{ matrix.python-version }}
2426
uses: actions/setup-python@v4
2527
with:
@@ -32,5 +34,5 @@ jobs:
3234
- name: hatch run dev:check
3335
run: |
3436
python -m pytest
35-
python -m pylint src
36-
python -m yapf -dr src
37+
python -m ruff .
38+
python -m black --check src

0 commit comments

Comments
 (0)