diff --git a/.clang-tidy b/.clang-tidy index 9c1e74231..f2c3593c4 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -38,5 +38,7 @@ CheckOptions: - key: hicpp-special-member-functions.AllowSoleDefaultDtor value: 1 +WarningsAsErrors: '*' + #HeaderFilterRegex: '.*nlohmann.*' -HeaderFilterRegex: '^(.*doctest.h)$' +HeaderFilterRegex: 'include/.*' diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 817672396..c7bc8c306 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -131,4 +131,9 @@ jobs: uses: actions/upload-artifact@v2 with: name: code-coverage-report - path: build_coverage/html + path: build/build_coverage/html + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + path-to-lcov: build/build_coverage/json.info