File tree Expand file tree Collapse file tree 3 files changed +12
-14
lines changed
Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,11 @@ jobs:
1212 strategy :
1313 fail-fast : false
1414 matrix :
15- tox-environment :
16- - docs
17- - linter
18- - pkglint
19- - spelling
20- - isolated
15+ hatch-environment :
16+ - docs:build
17+ - test:linter
18+ - test:pkglint
19+ - docs:spelling
2120
2221 steps :
2322 - uses : actions/checkout@v4
3029 python-version : ' 3.x'
3130
3231 - name : Install dependencies
33- run : python -m pip install tox
32+ run : python -m pip install hatch
3433
3534 - name : Run
36- run : tox -e ${{ matrix.tox -environment }}
35+ run : hatch run ${{ matrix.hatch -environment }}
Original file line number Diff line number Diff line change 2828 python-version : ${{ matrix.python-version }}
2929
3030 - name : Install dependencies
31- run : python -m pip install tox
31+ run : python -m pip install hatch
3232
3333 - name : Run tests
34- run : tox -e py
34+ run : hatch run test:test
Original file line number Diff line number Diff line change @@ -24,10 +24,9 @@ pull_request_rules:
2424 - name : Automatic merge on approval
2525 conditions :
2626 - and :
27- - " check-success=build (docs)"
28- - " check-success=build (isolated)"
29- - " check-success=build (linter)"
30- - " check-success=build (spelling)"
27+ - " check-success=build (docs:build)"
28+ - " check-success=build (test:linter)"
29+ - " check-success=build (docs:spelling)"
3130 - " check-success=django"
3231 - " check-success=build (3.10)"
3332 - " check-success=build (3.11)"
You can’t perform that action at this time.
0 commit comments