Skip to content

[ci] Reduced pipelines

This MR introduces the possibility to set environment variables in the MR description which are available to the CI pipeline:

CI-variables:

CTEST_ARGS="-R steady --no-tests=ignore"
BUILD_TESTS="false"

The syntax is

CI-variables:
```
CTEST_ARGS="-R steady"
BUILD_TESTS="false"
```

Possible variables to set:

  • CTEST_ARGS: Are passed to ctest invocations. Use e.g. -R to select specific tests (such as your currently worked on benchmark) or -LE to exclude labelled tests. Please note that jobs fail if the passed arguments lead to zero selected tests.
  • BUILD_TESTS: Disable unit tests (testrunner) when set to false.
  • BUILD_CTEST: Disable benchmark / notebook tests when set to false.

Also reduced the number of default Windows jobs to one: There are currently two jobs (one with and one without mkl). This MR will run only MKL job by default, thus halving the number of win CI jobs in typical MR pipelines.

Some CMake / CI cleanup. Removed unnecessary jobs.

One remaining issue (to be solved (maybe) later): On Windows with MKL=ON there is a DLL load error when running pytest test_mpl.py. I could not reproduce and not fix it. Skip test on error for the moment.

Edited by Lars Bilke

Merge request reports

Loading