Skip to content

Commit ee65c16

Browse files
Migrate to GitHub Actions
1 parent 7488388 commit ee65c16

File tree

3 files changed

+21
-54
lines changed

3 files changed

+21
-54
lines changed

.github/workflows/ci.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Workflow for Codecov example-python
2+
on: [push, pull_request]
3+
jobs:
4+
run:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v2
9+
- name: Run tests and collect coverage
10+
run: coverage run tests.py
11+
- name: Download and validate Codecov uploader
12+
run: |
13+
curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step
14+
curl -Os https://uploader.codecov.io/latest/linux/codecov
15+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM
16+
curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig
17+
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
18+
shasum -a 256 -c codecov.SHA256SUM
19+
chmod +x codecov
20+
- name: Upload coverage to Codecov
21+
run: ./codecov

.travis.yml

-20
This file was deleted.

azure-pipelines.yml

-34
This file was deleted.

0 commit comments

Comments
 (0)