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

fix: go test ci #3608

Merged
merged 1 commit into from
Nov 10, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/ci-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# disable auto-fix, and enable verbose
run: LINT_ARGS=-v make lint

test:
go-test:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down Expand Up @@ -79,6 +79,15 @@ jobs:
# show and check for uncommitted files
git status --short; [[ "$(git status --short)" == "" ]]

test:
runs-on: ubuntu-latest
needs: [go-test]
if: ${{ always() }}
steps:
- run: |
RESULT="${{ needs.go-test.result }}"
[ "$RESULT" = 'success' ] || [ "$RESULT" = 'skipped' ] || exit 1

check-generated:
runs-on: ubuntu-latest
steps:
Expand Down