Skip to content

Commit

Permalink
tweaking github workflows for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
cudmore committed Dec 30, 2024
1 parent fe7f229 commit f0ff030
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]'
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/pymapmanager.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pymapmanager
Version: 0.0.7.dev322+ge3d71a7.d20241230
Version: 0.0.7.dev325+gfe7f229.d20241230
Requires-Python: >=3.11
License-File: LICENSE
Requires-Dist: mapmanagercore
Expand Down
4 changes: 2 additions & 2 deletions src/pymapmanager/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
__version_tuple__: VERSION_TUPLE
version_tuple: VERSION_TUPLE

__version__ = version = '0.0.7.dev322+ge3d71a7.d20241230'
__version_tuple__ = version_tuple = (0, 0, 7, 'dev322', 'ge3d71a7.d20241230')
__version__ = version = '0.0.7.dev325+gfe7f229.d20241230'
__version_tuple__ = version_tuple = (0, 0, 7, 'dev325', 'gfe7f229.d20241230')

0 comments on commit f0ff030

Please sign in to comment.