Switch from jenkins to github actions

This commit is contained in:
kamilritz
2020-01-17 11:02:57 -05:00
committed by Daniel Agar
parent 011b4c2e4e
commit 26125c245d
4 changed files with 102 additions and 187 deletions
+26
View File
@@ -0,0 +1,26 @@
name: Unit Tests
on: [push]
jobs:
unit_tests:
runs-on: ubuntu-latest
container: px4io/px4-dev-base-bionic:2020-01-13
steps:
- uses: actions/checkout@v1
- name: main test
run: make test
coverage:
runs-on: ubuntu-latest
container: px4io/px4-dev-base-bionic:2020-01-13
steps:
- uses: actions/checkout@v1
- name: coverage
run: make coverage
- name: coverage_html
run: make coverage_html
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: ecl