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 a github action to build and test project #120

Open
wants to merge 54 commits into
base: master
Choose a base branch
from

Conversation

adrianparsons
Copy link
Contributor

This adds a github action to run when PRs are opened against master.

Basically, the action:

  1. Spins up an Ubuntu environment
  2. Creates a postgres "service"
  3. Starts the mysql server (installed by default on Ubuntu)
  4. Configures mysql and postgres for tests
  5. Installs nmig dependencies, builds the project, and runs tests

See my fork for examples of test runs.

This PR adds a github action file, but actions have to be enabled in the project to actually run.

I'd like to eventually expand this to include tests for the Docker workflow.

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.

1 participant