You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
617 B
26 lines
617 B
name: Unit Tests |
|
|
|
on: [push, pull_request] |
|
|
|
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
|
|
|