| 1 |
name: Test dfu-programmer with coverage reporting |
| 2 |
|
| 3 |
on: |
| 4 |
push: |
| 5 |
|
| 6 |
jobs: |
| 7 |
avr: |
| 8 |
# concurrency: |
| 9 |
# group: ${{ github.workflow }} |
| 10 |
# cancel-in-progress: true |
| 11 |
name: Test with AVR Test HAT on a Raspberry Pi |
| 12 |
runs-on: |
| 13 |
- self-hosted |
| 14 |
- avr-test-hat |
| 15 |
- linux |
| 16 |
steps: |
| 17 |
- uses: actions/checkout@v3 |
| 18 |
- run: ./bootstrap.sh |
| 19 |
- run: ./configure --disable-dependency-tracking CFLAGS="--coverage -O0" |
| 20 |
- run: make -j4 |
| 21 |
- run: npm install |
| 22 |
- run: npm test |
| 23 |
id: test |
| 24 |
- run: coveralls |
| 25 |
if: success() || steps.test.outcome == 'failure' |
| 26 |
env: |
| 27 |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} |