Skip to content

Commit a8505da

Browse files
committed
Fixed coverage action
1 parent 16558ef commit a8505da

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/coverage.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,27 @@ name: CI Coverage
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ["master"]
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ["master"]
88

99
jobs:
1010
test:
1111
runs-on: ubuntu-latest
12-
1312
steps:
1413
- name: Checkout repo
15-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1615

1716
- name: Set up Python
18-
uses: actions/setup-python@v4
17+
uses: actions/setup-python@v5
1918
with:
2019
python-version: "3.12"
20+
cache: "pip"
2121

22-
- name: Install dependencies
22+
- name: Install dependencies (from pyproject.toml)
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install -r requirements.txt
26-
pip install coverage
25+
pip install -e ".[test]"
2726
2827
- name: Run tests with coverage
2928
run: |

0 commit comments

Comments
 (0)