File: test.yml

package info (click to toggle)
dfu-programmer 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 828 kB
  • sloc: ansic: 5,152; makefile: 31; sh: 18
file content (27 lines) | stat: -rw-r--r-- 685 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Test dfu-programmer with coverage reporting

on:
  push:

jobs:
  avr:
    # concurrency:
    #   group: ${{ github.workflow }}
    #   cancel-in-progress: true
    name: Test with AVR Test HAT on a Raspberry Pi
    runs-on:
      - self-hosted
      - avr-test-hat
      - linux
    steps:
      - uses: actions/checkout@v3
      - run: ./bootstrap.sh
      - run: ./configure --disable-dependency-tracking CFLAGS="--coverage -O0"
      - run: make -j4
      - run: npm install
      - run: npm test
        id: test
      - run: coveralls
        if: success() || steps.test.outcome == 'failure'
        env:
          COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}