Skip to content
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/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
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