-
Notifications
You must be signed in to change notification settings - Fork 552
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: release v0.19.0
- Loading branch information
Showing
313 changed files
with
12,180 additions
and
3,612 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
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 |
---|---|---|
@@ -1,23 +1,70 @@ | ||
name: Test | ||
|
||
name: Integration | ||
on: | ||
pull_request: | ||
push: | ||
paths-ignore: | ||
- '**.md' | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
integration: | ||
pre-test: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
matrix: ${{ steps.set-matrix.outputs.matrix }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Finding files and store to output | ||
id: set-matrix | ||
run: echo "::set-output name=matrix::$({ cd integration && find . -type d -maxdepth 1 -print; } | tail -n +2 | cut -c 3- | jq -R . | jq -cs .)" | ||
|
||
integration: | ||
name: test ${{ matrix.test-path }} | ||
runs-on: ubuntu-latest | ||
needs: pre-test | ||
if: fromJSON(needs.pre-test.outputs.matrix)[0] != null | ||
continue-on-error: false | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
test-path: ${{fromJson(needs.pre-test.outputs.matrix)}} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: technote-space/get-diff-action@v4 | ||
with: | ||
PATTERNS: | | ||
**/* | ||
!**/*.md | ||
- uses: actions/cache@v2 | ||
if: env.GIT_DIFF | ||
with: | ||
path: | | ||
~/.cache/go-build | ||
~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- uses: actions/setup-go@v2 | ||
if: env.GIT_DIFF | ||
with: | ||
go-version: 1.16 | ||
- name: Install Starport | ||
if: env.GIT_DIFF | ||
run: go install ./... | ||
|
||
- name: Run Integration Tests | ||
run: ./scripts/test-integration | ||
if: env.GIT_DIFF | ||
run: go test -v -timeout 35m ./integration/${{ matrix.test-path }} | ||
|
||
status: | ||
runs-on: ubuntu-latest | ||
needs: integration | ||
if: always() | ||
steps: | ||
- name: Update result status | ||
run: | | ||
if [ "${{ needs.integration.result }}" = "failure" ]; then | ||
exit 1 | ||
else | ||
exit 0 | ||
fi |
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
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.