Make left() and right() of components accessible from Python #272
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: Code Coverage | |
on: | |
push: { branches: [ "master" ] } | |
pull_request: { branches: [ "master" ] } | |
concurrency: | |
group: coverage-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
codecov: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: { submodules: recursive, fetch-depth: 0 } | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: { miniforge-variant: "Mambaforge", miniforge-version: "latest" } | |
- name: install dependencies | |
shell: bash -l {0} | |
run: | | |
mamba env update --quiet -n test -f libintervalxt/environment.yml | |
mamba env update --quiet -n test -f pyintervalxt/environment.yml | |
conda list | |
- name: make check | |
shell: bash -l {0} | |
run: | | |
./bootstrap | |
./configure --prefix="$PREFIX" CXXFLAGS="$CXXFLAGS --coverage -O0 -fprofile-abs-path -UNDEBUG" --without-benchmark | |
make check | |
- name: create & post coverage report | |
shell: bash -l {0} | |
run: | | |
pushd libintervalxt/test | |
find -type f -name '*.gcda' -exec gcov -pbs ../../../intervalxt '{}' ';' | |
popd | |
pushd libintervalxt/src | |
find -type f -name '*.gcda' -exec gcov -pbs ../../../intervalxt '{}' ';' | |
popd | |
curl -s https://codecov.io/bash | bash -s - -X gcov -R `pwd` . | |
env: | |
MAKEFLAGS: -j2 |