Add CI workflow for flaky runs#2618
Merged
VeckoTheGecko merged 5 commits intoParcels-code:mainfrom May 1, 2026
Merged
Conversation
Also update `tests` task in Pixi so by default doesnt run flaky tests
VeckoTheGecko
commented
May 1, 2026
| - name: Unit test | ||
| id: unit-test | ||
| run: | | ||
| pixi run -e ${{ matrix.pixi-environment }} tests -m 'flaky' -v -s --cov=parcels --cov-report=xml --html="${COVERAGE_REPORT}" --self-contained-html |
Contributor
Author
There was a problem hiding this comment.
This is basically equivalent to pytest -m 'not flaky' -m 'flaky' (the second flag overrides the first one)
| with: | ||
| name: Unittest report ${{ matrix.os }}-${{ matrix.pixi-environment }} | ||
| path: ${{ env.COVERAGE_REPORT }} | ||
| flaky-unit-test: |
Contributor
Author
There was a problem hiding this comment.
This workflow is mostly the same as the unit test one. I kept in the coverage and the test reporting (in case we mark more tests as flaky in future, it would be handy to have coverage and this output I think )
erikvansebille
approved these changes
May 1, 2026
Member
erikvansebille
left a comment
There was a problem hiding this comment.
One small type-o. Looks good otherwise!
Co-authored-by: Erik van Sebille <e.vansebille@uu.nl>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
pixi run teststask so that flaky tests aren't run by defaulttest_pooch_registry_url_reponseas flakyChecklist
mainfor normal development,v3-supportfor v3 support)AI Disclosure
None used