Skip to content

Commit 12d21c0

Browse files
committed
fix bug in running coverage
1 parent 29e64e3 commit 12d21c0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,24 +54,22 @@ jobs:
5454
runs-on: ubuntu-latest
5555
steps:
5656
- uses: actions/checkout@v2
57-
- name: Set up Python 3.7
57+
- name: Set up Python 3.8
5858
uses: actions/setup-python@v1
5959
with:
60-
python-version: 3.7
60+
python-version: 3.8
6161
- name: Install dependencies
6262
run: |
6363
python -m pip install --upgrade pip
6464
pip install .[dev]
65-
pip install pytest-xvfb
66-
pip install pytest-timeout
6765
# install the data package
6866
cd mvtb-data
6967
python -m pip install .
7068
- name: Run coverage
7169
run: |
7270
coverage run --omit='tests/*.py,tests/base/*.py' -m pytest
7371
coverage report
74-
coverage xml
72+
coverage xml -i
7573
- name: upload coverage to Codecov
7674
uses: codecov/codecov-action@v3
7775
with:

0 commit comments

Comments
 (0)