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

test: new GitHub Actions for front, back, Docker; increase PyWorkflow coverage to 83% #89

Merged
merged 12 commits into from
May 10, 2020

Conversation

reelmatt
Copy link
Member

@reelmatt reelmatt commented May 8, 2020

There are now three GitHub Actions triggered on each push/PR:

  1. test_backend.yml: Was the exiting GitHub Action. Builds/runs back-end server. Runs PyWorkflow unit tests and Postman API tests.
  2. test_frontend.yml: Builds the front-end server, runs the Jest tests.
  3. test_docker.yml: Builds and runs both Docker containers with docker-compose.

The front-end Action is currently failing. @cesaragv has #88 open to increase coverage and is working on the fix for the React hooks.

Also included in this PR is more PyWorkflow unit tests. Coverage had actually decreased to ~70% (mostly due to the addition of new Nodes); now back up to 83%.

@reddigari
Copy link
Collaborator

Any way to retain the Docker images as artifacts? I see there's a section for them but they aren't there. Also no way to view the log of the image builds?

@reelmatt
Copy link
Member Author

reelmatt commented May 9, 2020

Actions do support artifacts (and also caching which seems similar but different). I agree those would be good to implement, I just hadn't spent a lot of time on them.

Re: logs, those should be available in the Action output. They should be in there from the first commit this PR, but I did separate out some steps at one point. If you expand "Build docker container" you should see something like:
Screen Shot 2020-05-09 at 11 48 28 AM

I think that's what you're talking about?

@reelmatt reelmatt merged commit ee44637 into master May 10, 2020
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.

3 participants