Skip to content

Run full tests only on Wednesday scheduled jobs #1833

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

Merged
merged 7 commits into from
May 13, 2022
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
10 changes: 8 additions & 2 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion doc/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down