-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
after codecov success, clean config files and undo changes in dockerfile
- Loading branch information
Showing
5 changed files
with
8 additions
and
172 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 |
---|---|---|
|
@@ -19,17 +19,10 @@ jobs: | |
include: | ||
- name: PyTest With Coverage | ||
script: docker run -ti -v "$PWD/shared:/shared" pyghost:v1.0 bash -c "pytest --cov=./ && mv coverage.xml /shared && ls /shared" | ||
# script: docker run -ti -v "$PWD/shared:/shared" pyghost:v1.0 bash -c "pytest --cov=./ && mv coverage.txt shared" | ||
# script: docker run -ti pyghost:v1.0 pytest --cov-report=xml --cov=./ tests/ | ||
|
||
after_success: #https://docs.codecov.io/docs/testing-with-docker | ||
# - pip install codecov | ||
# - codecov | ||
# - docker run -ti pyghost:v1.0 codecov | ||
# - docker run -ti pyghost:v1.0 bash <(curl -s https://codecov.io/bash) | ||
# - docker run -ti pyghost:v1.0 bash -c "curl -s https://codecov.io/bash | bash" | ||
after_success: | ||
- curl -s https://codecov.io/bash | bash | ||
|
||
|
||
notifications: | ||
email: [email protected] | ||
#notifications: | ||
# email: [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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
tests: | ||
pytest --doctest-modules . | ||
pytest | ||
docker run -ti pyghost-ubuntu:v2.0 pytest --doctest-modules . | ||
docker run -ti pyghost-ubuntu:v2.0 pytest | ||
|
This file was deleted.
Oops, something went wrong.