Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add explicit list of tests to exclude in CI #1596

Merged
merged 4 commits into from
Aug 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/buildAndDocumentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ env:
CONFIG_GLOBAL: -DBUILD_EXAMPLES=true -DBUILD_TESTING=true -DDGTAL_RANDOMIZED_TESTING_THRESHOLD=25
CONFIG_LINUX: -DWITH_MAGICK=true -DWITH_GMP=true -DWITH_FFTW3=true -DWARNING_AS_ERROR=ON -DWITH_HDF5=true -DWITH_QGLVIEWER=true -DWITH_CAIRO=true -DWITH_EIGEN=true -DDGTAL_ENABLE_FLOATING_POINT_EXCEPTIONS=true
CONFIG_MAC: -DWITH_EIGEN=true -DWITH_GMP=tue
# List of tests to exclude from Ctest. For example -E "(test1)|(test2)..."
EXCLUDE_TESTS: "-E \"(testLinearStructure)\" "

# -DDGTAL_RANDOMIZED_TESTING_WHITELIST=$(../.travis/create_whitelist.sh)"\

Expand All @@ -24,7 +26,7 @@ jobs:

- name: Install linux deps
if: matrix.os == 'ubuntu-latest'
run: |
run: |
sudo apt-get update
sudo apt-get install libqglviewer-dev-qt5 libboost-dev libeigen3-dev ninja-build libhdf5-serial-dev libboost-dev libcairo2-dev libgmp-dev libgraphicsmagick++1-dev libfftw3-dev

Expand Down Expand Up @@ -56,7 +58,7 @@ jobs:
- name: Test
working-directory: ${{runner.workspace}}/build
shell: bash
run: ctest -C $BUILD_TYPE --output-on-failure
run: ctest -C $BUILD_TYPE --output-on-failure $EXCLUDE_TESTS

- name: DGtalTools (linux only, we check this PR against DGtalTools master)
if: matrix.os == 'ubuntu-latest'
Expand All @@ -70,7 +72,7 @@ jobs:
echo cmake .. -DDGTAL_DIR=${{runner.workspace}}/build -DDGTALTOOLS_RANDOMIZED_BUILD_THRESHOLD=25 -G Ninja
cmake .. -DDGtal_DIR=${{runner.workspace}}/build -G Ninja
ninja

# Documentatin (build, check and deploy)
Documentation:
runs-on: ubuntu-latest
Expand Down
7 changes: 4 additions & 3 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@
(David Coeurjolly, [#1578](https://github.com/DGtal-team/DGtal/pull/1578))
- Various warnings / deprecated functions (David Coeurjolly,
[#1583](https://github.com/DGtal-team/DGtal/pull/1583)
- Removing old snapshot of catch.hpp. Now DGtal compiles on Apple M1 (David Coeurjolly,
[#1590](https://github.com/DGtal-team/DGtal/pull/1590)

- Removing old snapshot of catch.hpp. Now DGtal compiles on Apple M1 (David Coeurjolly,
[#1590](https://github.com/DGtal-team/DGtal/pull/1590))
- Adding a explicit list of tests to exclude from Github Actions
(David Coeurjolly, [#1596](https://github.com/DGtal-team/DGtal/pull/1596)

# DGtal 1.2

Expand Down