Skip to content

Commit

Permalink
reset riot directory after tests and before diff check
Browse files Browse the repository at this point in the history
  • Loading branch information
emmettbutler committed May 1, 2023
1 parent 2a07ecc commit 2a2fc5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ commands:
mv .riot .ddriot
# Sort the hashes to ensure a consistent ordering/division between each node
riot list --hash-only '<<parameters.pattern>>' | sort | circleci tests split | xargs -n 1 -I {} ./scripts/ddtest riot -v run --exitfirst --pass-env -s {} $([[ << pipeline.parameters.coverage >> == false ]] && echo '--no-cov' )
mv .ddriot .riot
./scripts/check-diff "Changes detected after running riot. Consider deleting changed files, running scripts/compile-and-prune-test-requirements and committing the result."
- unless:
condition:
Expand Down Expand Up @@ -424,6 +425,7 @@ jobs:
mv .riot .ddriot
# Sort the hashes to ensure a consistent ordering/division between each node
riot list --hash-only 'integration-latest' | sort | circleci tests split | xargs -n 1 -I {} ./scripts/ddtest riot -v run --pass-env -s {}
mv .ddriot .riot
./scripts/check-diff "Changes detected after running riot. Consider deleting changed files, running scripts/compile-and-prune-test-requirements and committing the result."
integration_testagent:
Expand Down Expand Up @@ -663,6 +665,7 @@ jobs:
command: |
mv .riot .ddriot
./scripts/ddtest riot -v run --pass-env -s 'gunicorn'
mv .ddriot .riot
./scripts/check-diff "Changes detected after running riot. Consider deleting changed files, running scripts/compile-and-prune-test-requirements and committing the result."
httplib:
Expand Down

0 comments on commit 2a2fc5d

Please sign in to comment.