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

Fix Windows tests #1555

Merged
merged 5 commits into from
May 2, 2024
Merged

Fix Windows tests #1555

merged 5 commits into from
May 2, 2024

Conversation

jribbink
Copy link
Contributor

@jribbink jribbink commented May 1, 2024

Closes #1556

Description

Fixes our long-standing issue with Windows tests doing nothing :P. The CGO fixes we made a while back sovled half the issue, this solves the rest.

Example failing CI here (we used to have the issue that failing Windows tests didn't cause the to fail, this shows that it is fixed):
https://github.com/onflow/flow-cli/actions/runs/8915898654/job/24486335666


For contributor use:

  • Targeted PR against master branch
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work
  • Code follows the standards mentioned here
  • Updated relevant documentation
  • Re-reviewed Files changed in the Github PR explorer
  • Added appropriate labels

@jribbink jribbink force-pushed the jribbink/fix-windows-tests branch from 8d64cd0 to 54c967c Compare May 1, 2024 22:42
@jribbink jribbink added the Improvement Technical work without new features, refactoring, improving tests label May 1, 2024
@jribbink jribbink marked this pull request as ready for review May 1, 2024 22:51
.PHONY: install-linter
install-linter:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b ${GOPATH}/bin v1.47.2

.PHONY: lint
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We don't use this at all anymore, it's part of install-tools

@jribbink jribbink force-pushed the jribbink/fix-windows-tests branch from 4704cd6 to 3778752 Compare May 2, 2024 03:43
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 39.71%. Comparing base (3989c3d) to head (cb627bc).
Report is 32 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1555      +/-   ##
==========================================
+ Coverage   39.70%   39.71%   +0.01%     
==========================================
  Files          51       51              
  Lines        2944     3278     +334     
==========================================
+ Hits         1169     1302     +133     
- Misses       1620     1814     +194     
- Partials      155      162       +7     
Flag Coverage Δ
unittests 39.71% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jribbink jribbink merged commit 3c54ab2 into master May 2, 2024
5 checks passed
@jribbink jribbink deleted the jribbink/fix-windows-tests branch May 2, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Technical work without new features, refactoring, improving tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Windows CI not working as expected
4 participants