Skip to content

Commit

Permalink
[build] github actions ci job (Snowflake-Labs#270)
Browse files Browse the repository at this point in the history
Add a CI job run by github actions. Codecov integration is dropped for
now, we will see if we miss it.

Also upgrade to go 1.15 and remove travis-ci build.

## Test Plan
* [x] acceptance tests

## References
<!-- issues documentation links, etc  -->

*
  • Loading branch information
ryanking authored Oct 8, 2020
1 parent 70bf442 commit ef42472
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 38 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on: push

jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
target:
- check-docs
- check-mod
- lint-ci
- test-acceptance-ci
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: '1.15.2'
- name: Install dependencies
run: make setup

- name: make ${{ matrix.target }}
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.REVIEWDOG_GITHUB_API_TOKEN }}
SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }}
SNOWFLAKE_ROLE: ${{ secrets.SNOWFLAKE_ROLE }}
run: make ${{ matrix.target }}
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/chanzuckerberg/terraform-provider-snowflake

go 1.13
go 1.15

require (
cloud.google.com/go/pubsub v1.0.1 // indirect
Expand Down

0 comments on commit ef42472

Please sign in to comment.