-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fixes/lack of ci #8
Conversation
That way, `rake test` works and `rake` runs the `test` task by default :)
Hey @etagwerker did you notice that CI is failing here? |
.github/workflows/skunk.yml
Outdated
@@ -0,0 +1,54 @@ | |||
name: Skunk | |||
on: [push] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We want to also add the pull_request
event so CI status is reflected in the PR when you open a new PR
on:[push, pull_request]
.github/workflows/tests.yml
Outdated
# .github/workflows/ci.yml | ||
|
||
name: CI | ||
on: [push] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pull_request
too
@@ -0,0 +1,89 @@ | |||
# PostgreSQL. Versions 9.3 and up are supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just curious why this file ends with .github
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bronzdoc This file is getting used within the GitHub Actions only, so that is why it has that suffix. It shouldn't be used for anything else.
@bronzdoc Just addressed your comments 👍 |
@bronzdoc I don't think it is a great idea to make the events push and pull_request. It seems to run duplicated jobs, which is going to consume more resources than we need. 😕 |
@etagwerker I gave this a look and I think what we want is:
https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662 What you think? |
@bronzdoc That looks great. Thanks! |
@etagwerker it seems there is still an issue in the build, can you have a look? |
@bronzdoc Are you talking about the Skunk action failure? I added a comment about that over here: #8 (comment) I see that CI works fine though and this PR was about CI (I meant test suite) not Skunk's GitHub action. |
Hey,
This PR enables CI for this project. Also, it fixes #2 and fixes #7.
Please check it out.
Thanks!