Skip to content
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

ci: Reduce test running time by setting PACT_DO_NOT_TRACK #450

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

tienvx
Copy link
Contributor

@tienvx tienvx commented Jan 23, 2024

  • On local, where everything are set up, it reduce tests running time, from 6.549 seconds to 4.242 (need to set manually PACT_DO_NOT_TRACK=true phpunit)
  • On github, it's harder to see the difference

@tienvx tienvx requested a review from YOU54F January 23, 2024 10:17
@@ -3,7 +3,7 @@ name: Pact-PHP Compatibility Suite
on: [push, pull_request]

env:
pact_do_not_track: true
PACT_DO_NOT_TRACK: true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the same. Just for consistency

@tienvx tienvx merged commit b7ba915 into pact-foundation:ffi Jan 23, 2024
@tienvx tienvx deleted the reduce-test-running-time branch January 23, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants