-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
configure coveralls orb in circle ci (#74)
* configure coveralls orb in circle ci * trigger test rerun * exclude plot folder from coverage reporting * fix tab indent * fix coverage command * try to setup covearge omit files in setup.cfg * move the exclusion config to pyproject --------- Co-authored-by: Xiangyu Wang <[email protected]>
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
coveralls: coveralls/[email protected] | ||
python: circleci/[email protected] | ||
|
||
# Define a job to be invoked later in a workflow. | ||
|
@@ -25,6 +26,7 @@ jobs: | |
python -m unittest discover | ||
python -m unittest tests/tuner/test*.py | ||
coverage run --source . -m unittest discover | ||
- coveralls/upload | ||
build-and-test-3-9: | ||
docker: | ||
- image: cimg/python:3.9 | ||
|
@@ -44,6 +46,7 @@ jobs: | |
python -m unittest discover | ||
python -m unittest tests/tuner/test*.py | ||
coverage run --source . -m unittest discover | ||
- coveralls/upload | ||
build-and-test-3-10: | ||
docker: | ||
- image: cimg/python:3.10 | ||
|
@@ -63,6 +66,7 @@ jobs: | |
python -m unittest discover | ||
python -m unittest tests/tuner/test*.py | ||
coverage run --source . -m unittest discover | ||
- coveralls/upload | ||
build-and-test-3-11: | ||
docker: | ||
- image: cimg/python:3.11 | ||
|
@@ -82,8 +86,9 @@ jobs: | |
python -m unittest discover | ||
python -m unittest tests/tuner/test*.py | ||
coverage run --source . -m unittest discover | ||
- coveralls/upload | ||
|
||
# Invoke jobs via workflows | ||
# Invoke jobs via workflows. | ||
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows | ||
workflows: | ||
sample: | ||
|
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