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 pre-commit and test workflow #5

Merged
merged 3 commits into from
Aug 24, 2023
Merged

Add pre-commit and test workflow #5

merged 3 commits into from
Aug 24, 2023

Conversation

emmastephenson
Copy link
Collaborator

@emmastephenson emmastephenson commented Aug 22, 2023

Resolves #773.

Adds pre-commit formatting for terraform, json, .js, .tsx, and yaml (via prettier). This is also configured to automatically run on PRs (we can change if it's annoying.)

Also added a basic test workflow that for now just runs eslint; we'll add more functionality as we add tests. Once this is merged, I'll make passing it a required status check.

NOTE: I ran pre-commit on all the files already in the repo, which is why there are so many changes. The only actual changes are in .github/workflows/test.yaml and .pre-commit-config.yaml.

@emmastephenson emmastephenson merged commit 2d8daf3 into main Aug 24, 2023
1 check passed
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 codecov, status checks to phdi-playground
2 participants