Skip to content

Commit

Permalink
Merge pull request #264 from ales-erjavec/ci/codecov-actions
Browse files Browse the repository at this point in the history
[MNT] CI: Use codecov-action
  • Loading branch information
ales-erjavec committed Apr 14, 2023
2 parents d031b43 + 49872a3 commit 61fe8c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/run-tests-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
- name: Install Test Deps
env:
TEST_ENV: ${{ matrix.test-env }}
TEST_DEPS: pytest pytest-cov codecov wheel
TEST_DEPS: pytest pytest-cov wheel
run: python -m pip install $TEST_DEPS $TEST_ENV
shell: bash

Expand All @@ -138,7 +138,9 @@ jobs:
if: ${{ startsWith(runner.os, 'Linux') }}
env:
XVFBARGS: "-screen 0 1280x1024x24"
run: catchsegv xvfb-run -a -s "$XVFBARGS" pytest -v --cov=orangecanvas
run: catchsegv xvfb-run -a -s "$XVFBARGS" pytest -v --cov=orangecanvas --cov-report=xml

- name: Upload Coverage
run: codecov
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true

0 comments on commit 61fe8c1

Please sign in to comment.