Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2.1
orbs:
codecov: codecov/[email protected]

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
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
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.

34 changes: 0 additions & 34 deletions azure-pipelines.yml

This file was deleted.

1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
coverage