Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelotrevisani committed Jul 11, 2023
1 parent 0b492ef commit 889cc8b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
[run]
concurrency = multiprocessing
parallel = true
source=src/
omit =
.cache/*
*/tests/*
Expand All @@ -11,4 +14,4 @@ omit =
.github/*

[paths]
source = orko/
source = src/
9 changes: 4 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,17 @@ jobs:
-vv \
-n auto \
--color=yes \
--cov=./ \
--cov=. \
--cov-append \
--cov-report html:coverage-${{ matrix.os }}-py${{ matrix.py_ver }}.html \
--cov-report xml:coverage-${{ matrix.os }}-py${{ matrix.py_ver }}.xml \
--cov-report html:coverage.html \
--cov-report xml:coverage.xml \
--cov-config=.coveragerc \
--junit-xml=${{ matrix.os }}-py${{ matrix.py_ver }}.xml \
--junit-prefix=${{ matrix.os }}-py${{ matrix.py_ver }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage-${{ matrix.os }}-py${{ matrix.py_ver }}.xml
directory: .
flags: unittests
name: orko-tests
fail_ci_if_error: true

0 comments on commit 889cc8b

Please sign in to comment.