if condition fix; correct pwd
@@ -106,15 +106,15 @@ jobs:
- name: Generate coverage
uses: imciner2/run-lcov@v1
with:
- input_directory: '${{ runner.workspace }}/build'
+ input_directory: '${{ runner.workspace }}/osqp/build'
exclude: '"$GITHUB_WORKSPACE/tests/*" "$GITHUB_WORKSPACE/lin_sys/direct/qdldl/amd/*" "$GITHUB_WORKSPACE/lin_sys/direct/qdldl/qdldl_sources/*"" "/usr/include/*"'
- output_file: '${{ runner.workspace }}/build/coverage.info'
+ output_file: '${{ runner.workspace }}/osqp/build/coverage.info'
if: ${{ runner.os == 'Linux' && matrix.cmake_flags == '-DUNITTESTS=ON -DCOVERAGE=ON' && matrix.cmake_flags_extra == '' }}
- name: Coveralls
uses: coverallsapp/github-action@master
with:
- path-to-lcov: '${{ runner.workspace }}/build/coverage.info'
+ path-to-lcov: '${{ runner.workspace }}/osqp/build/coverage.info'
github-token: ${{ secrets.GITHUB_TOKEN }}
if: ${{ runner.os == 'Linux' && matrix.cmake_flags == '-DUNITTESTS=ON -DCOVERAGE=ON' && matrix.cmake_flags_extra == '' }}
