Skip to content

Commit c57b009

Browse files
committed
update github actions
1 parent 187f6e6 commit c57b009

File tree

3 files changed

+21
-26
lines changed

3 files changed

+21
-26
lines changed

.github/workflows/check.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
tox-environment:
16-
- docs
17-
- linter
18-
- pkglint
15+
hatch-environment:
16+
- docs:build
17+
- test:lint
18+
- test:pkglint
1919

2020
steps:
2121
- uses: actions/checkout@v2
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-python@v4
2727

2828
- name: Install dependencies
29-
run: python -m pip install tox
29+
run: python -m pip install hatch
3030

3131
- name: Run
32-
run: tox -e ${{ matrix.tox-environment }}
32+
run: hatch run ${{ matrix.hatch-environment }}

.github/workflows/test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
python-version:
16-
- 3.8
17-
- 3.9
18-
- "3.10"
1916
- "3.11"
2017
- "3.12"
18+
- "3.13"
2119

2220
steps:
2321
- uses: actions/checkout@v2
@@ -30,7 +28,7 @@ jobs:
3028
python-version: ${{ matrix.python-version }}
3129

3230
- name: Install dependencies
33-
run: python -m pip install tox
31+
run: python -m pip install hatch
3432

3533
- name: Run tests
36-
run: tox -e py
34+
run: hatch run test:test

.mergify.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
pull_request_rules:
2-
32
- name: Add CI label
43
conditions:
54
- or:
@@ -24,20 +23,18 @@ pull_request_rules:
2423
- name: Automatic merge on approval
2524
conditions:
2625
- and:
27-
- "check-success=build (docs)"
28-
- "check-success=build (linter)"
29-
- "check-success=build (pkglint)"
30-
- "check-success=build (3.8)"
31-
- "check-success=build (3.9)"
32-
- "check-success=build (3.10)"
33-
- "check-success=build (3.11)"
34-
- "check-success=build (3.12)"
35-
- "-draft"
36-
- or:
37-
- "approved-reviews-by=dhellmann"
38-
- "author=dhellmann"
39-
- "approved-reviews-by=janbrohl"
40-
- "author=janbrohl"
26+
- "check-success=build (docs:build)"
27+
- "check-success=build (test:lint)"
28+
- "check-success=build (test:pkglint)"
29+
- "check-success=build (3.11)"
30+
- "check-success=build (3.12)"
31+
- "check-success=build (3.13)"
32+
- "-draft"
33+
- or:
34+
- "approved-reviews-by=dhellmann"
35+
- "author=dhellmann"
36+
- "approved-reviews-by=janbrohl"
37+
- "author=janbrohl"
4138
actions:
4239
merge:
4340
method: merge

0 commit comments

Comments
 (0)