File tree Expand file tree Collapse file tree 1 file changed +26
-23
lines changed Expand file tree Collapse file tree 1 file changed +26
-23
lines changed Original file line number Diff line number Diff line change 99 matrix :
1010 python-version : [ "3.11.3" ]
1111 steps :
12- - uses : actions/checkout@v4
13- - uses : eifinger/setup-rye@v3
14- id : setup-rye
15- with :
16- enable-cache : true
17- cache-prefix : ${{ matrix.python-version }}
18- - name : Pin python-version ${{ matrix.python-version }}
19- if : steps.setup-rye.outputs.cache-hit != 'true'
20- run : rye pin ${{ matrix.python-version }}
21- - name : Install dependencies
22- if : steps.setup-rye.outputs.cache-hit != 'true'
23- run : |
24- rye sync --no-lock
25- - name : Lint
26- run : |
27- rye lint -a
28- - name : Test
29- run : |
30- rye run pytest
31- - name : Upload coverage to Codecov
32- uses : codecov/codecov-action@v1
33- with :
34- file : ./htmlcov/index.html
12+ - uses : actions/checkout@v4
13+ - uses : eifinger/setup-rye@v3
14+ id : setup-rye
15+ with :
16+ cache-prefix : ${{ matrix.python-version }}
17+
18+ - name : Pin python-version ${{ matrix.python-version }}
19+ run : rye pin ${{ matrix.python-version }}
20+
21+ - name : Install dependencies
22+ if : steps.setup-rye.outputs.cache-hit != 'true'
23+ run : rye sync --no-lock
24+
25+ - name : Activate Rye environment
26+ run : echo "source $(rye env show)/bin/activate" >> $GITHUB_ENV
27+
28+ - name : Lint
29+ run : rye lint -a
30+
31+ - name : Test
32+ run : rye run pytest
33+
34+ - name : Upload coverage to Codecov
35+ uses : codecov/codecov-action@v1
36+ with :
37+ file : ./htmlcov/index.html
You can’t perform that action at this time.
0 commit comments