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 for linting and testing #48

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

butovsky
Copy link

@butovsky butovsky commented Sep 15, 2022

Related to #23 and #43.

This PR adds a simple .yml workflow for linting and testing the code prior to merging with main.
The workflow is a Development one, but idk whether we would need Staging/Production CI logic on this project haha.

For now, it works only on main commits + on PRs headed towards main.
There is no problem in extending these triggers in the future btw.

You can see the example of such Action right in this PR in my fork. Don't pay attention to the failing checks, for now this is caused by #46.
But, I guess, after completing this PR and resolving linting issues, it will be great to prohibit merges on failed CI/CD in project settings.

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.

None yet

1 participant