forked from Snowflake-Labs/terraform-provider-snowflake
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] github actions ci job (Snowflake-Labs#270)
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
Showing
3 changed files
with
29 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters