[c++] Unit-test the dataframe upgrader #2249
Workflow file for this run
This file contains 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: libTileDB-SOMA CodeCov | |
on: | |
pull_request: | |
paths-ignore: | |
- "apis/python/**" | |
- "apis/r/**" | |
- ".pre-commit-config.yaml" | |
push: | |
branches: | |
- main | |
- 'release-*' | |
workflow_dispatch: | |
jobs: | |
codecov: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout TileDB-SOMA | |
uses: actions/checkout@v4 | |
- name: Build libTileDB-SOMA | |
run: TILEDBSOMA_COVERAGE="--coverage" ./scripts/bld --no-tiledb-deprecated=true | |
- name: Run libTileDB-SOMA unittests | |
run: ctest --test-dir build/libtiledbsoma -C Release --verbose --rerun-failed --output-on-failure | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
gcov: true | |
flags: libtiledbsoma | |
gcov_include: $(find libtiledbsoma -name "*.h" -or -name "*.cc") |