diff options
| author | Garrett D'Amore <garrett@damore.org> | 2019-12-26 21:00:06 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2019-12-26 23:46:48 -0800 |
| commit | ffc26b25dd2af96420463130603f381d4d5efae1 (patch) | |
| tree | 1c3954b6d978f68238a2e06ff4d68eba0d1eb997 /.github/workflows | |
| parent | fbd33b33dbc222c03ccf6bc894915108d6f94e4b (diff) | |
| download | nng-ffc26b25dd2af96420463130603f381d4d5efae1.tar.gz nng-ffc26b25dd2af96420463130603f381d4d5efae1.tar.bz2 nng-ffc26b25dd2af96420463130603f381d4d5efae1.zip | |
fixes #1031 Code coverage is busted
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/coverage.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml new file mode 100644 index 00000000..6274bbd0 --- /dev/null +++ b/.github/workflows/coverage.yml @@ -0,0 +1,31 @@ +name: coverage +on: [push] +jobs: + + build: + name: build + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ ubuntu-latest, macos-latest ] + steps: + - name: Check out code + uses: actions/checkout@v1 + + - name: Configure + run: | + mkdir build + cd build + cmake -D NNG_ENABLE_COVERAGE=ON .. + + - name: build + run: cmake --build build + + - name: Test + run: cd build && ctest --output-on-failure + + - name: Upload report + uses: codecov/codecov-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + yml: ./.codecov.yml
\ No newline at end of file |
