Skip to content

Commit 883a70e

Browse files
author
bwhe3635
committed
updated dependency and coverage upload in CI
1 parent 4b08041 commit 883a70e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/run_tests.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,15 @@ jobs:
3232
python -m pip install --upgrade pip
3333
pip install pytest
3434
pip install pytest-cov
35-
pip install codecov
35+
pip install coverage
3636
pip install -e .
3737
- name: Test with pytest
3838
run: |
3939
pytest --cov-config .coveragerc --cov-report html --cov=bayes_opt
40-
codecov
40+
codecov
41+
42+
- name: Test with pytest
43+
run: |
44+
pytest --cov-report xml --cov=bayes_opt/
45+
- name: Upload coverage to Codecov
46+
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)