diff --git a/.github/workflows/ci_tests.yaml b/.github/workflows/ci_tests.yaml index 5c8357919a5..e847f09cdc2 100644 --- a/.github/workflows/ci_tests.yaml +++ b/.github/workflows/ci_tests.yaml @@ -133,10 +133,16 @@ jobs: python -m build --sdist pip install dist/* - # Run the tests - - name: Test with pytest + # Run the regular tests + - name: Run tests + if: github.event.schedule != '0 0 * * 3' run: make test PYTEST_EXTRA="-r P" + # Run full tests including doctests on Wednesday + - name: Run full tests + if: github.event_name == 'schedule' && github.event.schedule == '0 0 * * 3' + run: make fulltest PYTEST_EXTRA="-r P" + # Upload diff images on test failure - name: Upload diff images if any test fails uses: actions/upload-artifact@v3 diff --git a/doc/maintenance.md b/doc/maintenance.md index 3c4653c9c9d..c866ba9349c 100644 --- a/doc/maintenance.md +++ b/doc/maintenance.md @@ -79,7 +79,8 @@ There are 11 configuration files located in `.github/workflows`: 2. `ci_tests.yaml` (Tests on Linux/macOS/Windows) This is run on every commit to the *main* and Pull Request branches. - It is also scheduled to run daily on the *main* branch. + It is also scheduled to run regular tests daily and run full tests + (including doctests) on Wednesday on the *main* branch. In draft Pull Requests, only two jobs on Linux are triggered to save on Continuous Integration resources: