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

Further e2e test improvements #2801

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Further e2e test improvements #2801

wants to merge 4 commits into from

Conversation

danielrbradley
Copy link
Member

  • Make: Skip expanding then passing the list of go packages. ./... does this for us.
  • Use gotestfmt in CI/CD for better output. Still set same coverage flags as in make.
  • Increase explicit -parallel from program test in CI to 16. Tests are not bound on local resources but rather on waiting for external services.

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

@danielrbradley danielrbradley force-pushed the e2e-tests branch 3 times, most recently from cc1e50e to d51eb50 Compare October 4, 2023 11:16
- Make: Skip expanding then passing the list of go packages. `./...` does this for us.
- Use gotestfmt in CI/CD for better output. Still set same coverage flags as in make.
- Combine provider and arm2pulumi prebuild steps to make CI prebuild easier.
- Increase explicit `-parallel` from program test in CI to 16. Tests are not bound on local resources but rather on waiting for external services.
- Add actionlint.yaml config to silence warnings about self-hosted runners.
Add `Additive: true` because otherwise the second step fails with:

  error: PULUMI_ACCESS_TOKEN must be set for login during non-interactive CLI sessions

Seems to be related to a historic regression: pulumi/pulumi#12859
@codecov-commenter
Copy link

Codecov Report

Merging #2801 (73963ee) into master (20b23aa) will increase coverage by 0.26%.
Report is 2 commits behind head on master.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2801      +/-   ##
==========================================
+ Coverage   58.54%   58.80%   +0.26%     
==========================================
  Files          53       53              
  Lines        9875     9909      +34     
==========================================
+ Hits         5781     5827      +46     
+ Misses       3577     3559      -18     
- Partials      517      523       +6     

see 6 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

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