Skip to content

Commit 0f9a6b3

Browse files
committed
CI: simplify workflows
1 parent 28d21e2 commit 0f9a6b3

File tree

3 files changed

+2261
-566
lines changed

3 files changed

+2261
-566
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
with:
3535
pixi-version: v0.30.0
3636
cache: true
37-
- name: Run lint checks
38-
run: pixi run lint
37+
- name: Run Pylint
38+
run: pixi run -e lint pylint
3939

4040
checks:
4141
name: Check Python ${{ matrix.python-version }} on ${{ matrix.runs-on }}
@@ -44,35 +44,23 @@ jobs:
4444
strategy:
4545
fail-fast: false
4646
matrix:
47-
python-version: ["3.9", "3.13"]
48-
runs-on: [ubuntu-latest, windows-latest, macos-14]
49-
50-
include:
51-
- python-version: "pypy-3.10"
52-
runs-on: ubuntu-latest
47+
environment: [ci-py309, ci-py312]
48+
runs-on: [ubuntu-latest]
5349

5450
steps:
5551
- uses: actions/checkout@v4
5652
with:
5753
fetch-depth: 0
5854

59-
- uses: actions/setup-python@v5
60-
with:
61-
python-version: ${{ matrix.python-version }}
62-
allow-prereleases: true
63-
6455
- uses: prefix-dev/setup-pixi@v0.8.1
6556
with:
6657
pixi-version: v0.30.0
6758
cache: true
6859

69-
- name: Install package
70-
run: python -m pip install .[test]
71-
7260
- name: Test package
73-
run: pixi run -e test test-ci
61+
run: pixi run test-ci
7462

75-
- name: Upload coverage report
76-
uses: codecov/codecov-action@v4.5.0
77-
with:
78-
token: ${{ secrets.CODECOV_TOKEN }}
63+
# - name: Upload coverage report
64+
# uses: codecov/codecov-action@v4.5.0
65+
# with:
66+
# token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)