Skip to content

Commit

Permalink
Clean old tests when recalculating durations
Browse files Browse the repository at this point in the history
Also attempts to remove the Dancefile.inject being added for some
reason, possibly by the `build-docker-container` step
  • Loading branch information
pvandyken committed Feb 14, 2024
1 parent 8acbd9f commit c8d1e47
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ jobs:
env:
HYPOTHESIS_PROFILE: pr
run: >-
poetry run pytest -n auto --store-durations
poetry run pytest -n auto --store-durations --clean-durations
--doctest-modules --ignore=docs
--ignore=snakebids/project_template --benchmark-disable
- name: remove spuriously include "Dancefile.inject"
run: git clean -df
- name: Check if there are changes
id: changes
run: |
Expand All @@ -58,7 +60,7 @@ jobs:
branch: maint/update-test-timings
title: Merge updated test timings
labels: maintenance
body: |
body: >
The number of tests has changed since the last generated test-timings
file. This PR contains an automatically regenerated file.
Expand Down

0 comments on commit c8d1e47

Please sign in to comment.