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

Create GitHub actions #1241

Merged
merged 3 commits into from
Feb 7, 2020
Merged

Create GitHub actions #1241

merged 3 commits into from
Feb 7, 2020

Conversation

Pchelolo
Copy link
Contributor

@Pchelolo Pchelolo commented Feb 6, 2020

Testing GH actions for CI


strategy:
matrix:
node-version: [6.x, 10.x]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably initiate testing on 12.x at some point.

@jdforrester
Copy link
Member

This is quite the set of tests!

@Pchelolo
Copy link
Contributor Author

Pchelolo commented Feb 7, 2020

This is quite the set of tests!

hehe, it's mostly a version/configuration matrix.. If only I could make it work...

btw, I'm impressed with GH actions, I've spent no more then 15 minutes on it and it's almost at a working state. Very nice.

@@ -1,12 +1,16 @@
name: Node.js CI

on: [push,pull_request]
on:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can simplify this down to just on: [push,pull_request] unless non-master patches happen a lot?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case it runs both 'push' and 'pull_request' if the development branch is in upstream and not in the fork as it is the case with this one. We usually don't do it, this time it happened cause I've used GitHub UI to create the actions file, but being explicit wouldn't hurt imho

Change-Id: Id644c02cfdebc54a6373d27e8b942fcdefbe8ff2
@Pchelolo
Copy link
Contributor Author

Pchelolo commented Feb 7, 2020

Hmmm... I don't see a way to only rerun failed jobs.. Travis had that. But otherwise I think it's neat, we can live with it.

@Pchelolo Pchelolo merged commit f0f73b5 into master Feb 7, 2020
@Pchelolo Pchelolo deleted the github_actions branch February 7, 2020 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants