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

Add Github Actions #117

Closed
wants to merge 7 commits into from
Closed

Add Github Actions #117

wants to merge 7 commits into from

Conversation

zebp
Copy link
Collaborator

@zebp zebp commented Jan 25, 2022

Adds Github Actions to automatically test pull requests by running worker-sandbox through miniflare. Initially this used wrangler publish and wrangler dev but I ran into some unresolved issues in wrangler, so it might be a good idea to switch to wrangler2 once it's stabilized.

This PR also goes through and fixes all the places clippy complained as I thought it'd be good to add a linter test, but a recent wasm-bindgen bug has caused it to generate code that emits a clippy error so it is disabled for now.

Merging this would require we set up a CF_API_TOKEN secret, the tests will fail until then.

Fixes #58

@zebp zebp requested a review from nilslice January 25, 2022 14:14
@nilslice
Copy link
Contributor

This is great. Maybe can you split this up into 2 PRs though? One containing the fixes, and then another with the Actions? That way we can merge the fixes, and then the Actions (maybe just the Linter first, so the checks pass, and then the integration tests once we figure out what's going wrong).

@zebp
Copy link
Collaborator Author

zebp commented Jan 25, 2022

Closing to break it up into multiple PRs.

@zebp zebp closed this Jan 25, 2022
@zebp zebp deleted the integration-testing branch January 25, 2022 19:52
@zebp zebp mentioned this pull request Jan 25, 2022
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.

add GitHub Actions to make it easier for contributors and maintainers
2 participants