- Notifications
You must be signed in to change notification settings - Fork271
Migrate to GitHub Actions and CircleCI#62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
8 commits Select commitHold shift + click to select a range
ee65c16
Migrate to GitHub Actions
thomasrockhu-codecov63b7a3b
pip-install
thomasrockhu-codecovf65d439
coverage xml
thomasrockhu-codecov40349c6
Add back in circleci
thomasrockhu-codecov7680075
Add circleci workflow
thomasrockhu-codecov235b0ab
typo
thomasrockhu-codecov5ff35af
codecov orb
thomasrockhu-codecove8b8aeb
Update .github/workflows/ci.yml
thomasrockhu-codecovFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
25 changes: 25 additions & 0 deletions.circleci/config.yml
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
version: 2.1 | ||
orbs: | ||
codecov: codecov/codecov@3.0.0 | ||
jobs: | ||
build: | ||
docker: | ||
- image: cimg/python:3.9.6 | ||
steps: | ||
- checkout | ||
- run: | ||
name: Install dependencies | ||
command: pip install -r requirements.txt | ||
- run: | ||
name: Run tests and collect coverage | ||
command: | | ||
coverage run tests.py | ||
coverage xml | ||
- codecov/upload | ||
workflow: | ||
version: 2.1 | ||
build-test: | ||
jobs: | ||
- build |
20 changes: 20 additions & 0 deletions.github/workflows/ci.yml
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: Workflow for Codecov example-python | ||
on: [push, pull_request] | ||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
- name: Install dependencies | ||
thomasrockhu-codecov marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
run: pip install -r requirements.txt | ||
- name: Run tests and collect coverage | ||
run: | | ||
coverage run tests.py | ||
coverage xml | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v2 |
20 changes: 0 additions & 20 deletions.travis.yml
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
34 changes: 0 additions & 34 deletionsazure-pipelines.yml
This file was deleted.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
1 change: 1 addition & 0 deletionsrequirements.txt
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
coverage |
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.