From ffc26b25dd2af96420463130603f381d4d5efae1 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 26 Dec 2019 21:00:06 -0800 Subject: fixes #1031 Code coverage is busted --- .github/workflows/coverage.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/coverage.yml (limited to '.github/workflows/coverage.yml') 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 -- cgit v1.2.3-70-g09d2