Skip to content

Commit 553c8e2

Browse files
committed
Remove cache
1 parent 1e2d21a commit 553c8e2

File tree

1 file changed

+22
-23
lines changed

1 file changed

+22
-23
lines changed

.github/workflows/code_coverage.yml

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,25 @@ jobs:
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+
run: rye sync --no-lock
23+
24+
- name: Lint
25+
run: rye lint -a
26+
27+
- name: Test
28+
run: rye run pytest
29+
30+
- name: Upload coverage to Codecov
31+
uses: codecov/codecov-action@v1
32+
with:
33+
file: ./htmlcov/index.html

0 commit comments

Comments
 (0)