Skip to content

Commit df76798

Browse files
committed
Update coverage_report.yml
1 parent 90fa6aa commit df76798

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

‎.github/workflows/coverage_report.yml‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,25 @@ on:
44
workflow_dispatch:
55

66
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Set up Python ${{ matrix.version }}
12+
uses: actions/setup-python@v5
13+
with:
14+
python-version: ${{ matrix.version }}
15+
- name: Install dependencies
16+
run: |
17+
python -m pip install --upgrade pip
18+
pip install -r requirements.txt
19+
pip install -r dev_requirements.txt
20+
pip install .
21+
- name: Test with pytest
22+
run: pytest --cov --cov-branch --cov-report=xml;
23+
724
create-report:
25+
needs: test
826
runs-on: ubuntu-latest
927
steps:
1028
- name: Upload coverage reports to Codecov

0 commit comments

Comments
 (0)