File tree Expand file tree Collapse file tree 3 files changed +21
-26
lines changed
Expand file tree Collapse file tree 3 files changed +21
-26
lines changed Original file line number Diff line number Diff 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
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 }}
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 11pull_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
You can’t perform that action at this time.
0 commit comments