-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tweaking github workflows for pytest
- Loading branch information
Showing
3 changed files
with
8 additions
and
6 deletions.
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 |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: pip | ||
cache-dependency-path: setup.py | ||
# cache-dependency-path: setup.py | ||
- name: Install dependencies | ||
run: | | ||
pip install '.[test]' | ||
|
@@ -35,10 +35,12 @@ jobs: | |
- name: Run flake8 | ||
run: | | ||
flake8 ./src --count --select=E9,F63,F7,F82 --show-source --statistics | ||
continue-on-error: true | ||
- name: Test and generate coverage report | ||
run: | | ||
pytest ./src/pymapmanager -s --cov=./src/pymapmanager --cov-report=xml src/pymapmanager | ||
# pytest ./src/pymapmanager -s --cov=./src/pymapmanager --cov-report=xml src/pymapmanager | ||
# pytest ./src/pymapmanager -s --cov=./src/pymapmanager --cov-report=xml src/pymapmanager | ||
coverage run -m pytest -s src/pymapmanager/tests | ||
- name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
|
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
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