Skip to content

chore: Create a GitHub Actions based CI Pipeline #386

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

Merged
merged 3 commits into from
Jan 15, 2020
Merged

Conversation

hiranya911
Copy link
Contributor

@hiranya911 hiranya911 commented Jan 14, 2020

Moved CI tasks to GitHub Actions. Kept the Travis CI job for testing on Py3.4, as that's not supported in GitHub Actions. Hopefully we can get rid of it completely once googleapis/google-cloud-python#10136 is addressed.

@hiranya911 hiranya911 changed the title Create an GitHub Actions based CI Pipeline Create a GitHub Actions based CI Pipeline Jan 14, 2020
node-version: 10.x
- name: Run integration tests against emulator
run: |
npm install -g firebase-tools
Copy link
Member

Choose a reason for hiding this comment

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

I think we should use https://firebase.tools instead so that we can drop the setup-node action and build faster, but I think this is fine for now as well. Also, have we considered caching ~/.cache/firebase which contains the emulator and (later) the standalone CLI?

Copy link
Contributor Author

@hiranya911 hiranya911 Jan 15, 2020

Choose a reason for hiding this comment

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

Been experimenting with this, but firebase.tools absolutely refuses to work in the GitHub Actions environment (filed a bug for the CLI for this). There are bunch of workarounds I can use to get this to work -- which involves pulling the CLI binary for Linux explicitly. But I'd rather do all that in a separate PR.

@hiranya911 hiranya911 merged commit d3dda24 into master Jan 15, 2020
@hiranya911 hiranya911 deleted the hkj-actions branch January 15, 2020 05:45
@hiranya911 hiranya911 changed the title Create a GitHub Actions based CI Pipeline chore: Create a GitHub Actions based CI Pipeline Jan 15, 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