test overflow with 10^4000 only if number of digits does match #88
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: coverage | |
| on: [push, pull_request] | |
| jobs: | |
| coverage: | |
| name: Coverage | |
| runs-on: ubuntu-latest | |
| env: | |
| BUILD_TYPE: Release | |
| CC: gcc | |
| CFLAGS: --coverage | |
| CXX: g++ | |
| CXXFLAGS: --coverage | |
| FC: gfortran | |
| FCFLAGS: --coverage | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v1 | |
| - name: install dependencies | |
| run: sudo apt-get install lcov | |
| - name: cmake | |
| run: cmake . -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} | |
| - name: cmake build | |
| run: cmake --build . --config ${{ env.BUILD_TYPE }} | |
| - name: ctest | |
| run: ctest -T Test -T Coverage -C ${{ env.BUILD_TYPE }} | |
| env: | |
| CTEST_OUTPUT_ON_FAILURE: 1 | |
| - name: Lcov | |
| run: lcov --directory . --capture --exclude '/usr/*' --exclude '*/test/*' --output-file=coverage.lcov | |
| - name: Coveralls | |
| uses: coverallsapp/github-action@v2 | |
| with: | |
| file: coverage.lcov |