-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
502bb49
commit 27a54b4
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ name: Pytest | |
|
||
on: pull_request | ||
|
||
env: | ||
COVERAGE_DEBUG: trace | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
@@ -21,7 +24,18 @@ jobs: | |
python -m pip install ".[dev]" | ||
- name: Run pytest | ||
run: | | ||
python -m pytest -v --disable-warnings tests | ||
python -m pytest -v --disable-warnings --cov=./ --cov-report=xml:coverage.xml | ||
cat coverage.xml | ||
- name: codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: ./coverage.xml | ||
flags: unittests | ||
env_vars: OS,PYTHON | ||
name: codecov-umbrella | ||
fail_ci_if_error: false | ||
verbose: true | ||
mypy: | ||
runs-on: ubuntu-latest | ||
name: "mypy" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters