Skip to content

Commit a407f25

Browse files
Remove coverage config from setup.cfg & update action (#54)
1 parent 83e383f commit a407f25

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/pm-gh-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Copyright (C) 2021 Prediction Machine Advisers, LLC
33
# This file is available under MIT license
44
# based on https://github.com/predictionmachine/pm-github-actions/blob/main/.github/workflows/pm-gh-actions.yml
5-
# pm-version 0.3.9
5+
# pm-version 0.3.10
66
############################################################################################
77

88
name: PM CI workflow
@@ -277,7 +277,7 @@ jobs:
277277
- name: Test with pytest and generate cov
278278
# see also https://pytest-cov.readthedocs.io/en/latest/config.html
279279
run: |
280-
python -m pytest --cov-report xml:$COVERAGE_OUTPUT_PATH --cov=. --cov-config=setup.cfg \
280+
python -m pytest --cov-report xml:$COVERAGE_OUTPUT_PATH --cov=. --cov-config=pyproject.toml \
281281
--continue-on-collection-errors --no-cov-on-fail
282282
- name: Upload code coverage to codeclimate
283283
uses: paambaati/[email protected]

setup.cfg

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
# pm-version 0.1.5
2-
[coverage:run]
3-
# https://coverage.readthedocs.io/en/latest/config.html
4-
omit = tests/*
1+
# pm-version 0.1.6
52

63
[flake8]
74
# see https://flake8.pycqa.org/en/latest/user/options.html#options-list

0 commit comments

Comments
 (0)