Fix sorting of saddle connections in byLength() iteration #468
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 libflatsurf/environment.yml | |
mamba env update --quiet -n test -f pyflatsurf/environment.yml | |
conda list | |
- name: make check | |
shell: bash -l {0} | |
run: | | |
./bootstrap | |
export CXXFLAGS="$CXXFLAGS --coverage -O0 -UNDEBUG" | |
./configure --without-benchmark | |
make check | |
- name: create & post coverage report | |
shell: bash -l {0} | |
run: | | |
pushd libflatsurf/test | |
find -type f -name '*.gcda' -exec gcov -pbs ../../../flatsurf '{}' ';' | |
popd | |
pushd libflatsurf/src | |
find -type f -name '*.gcda' -exec gcov -pbs ../../../flatsurf '{}' ';' | |
popd | |
curl -s https://codecov.io/bash | bash -s - -X gcov -R `pwd` . | |
env: | |
MAKEFLAGS: -j2 |