Skip to content

Commit

Permalink
ci: do not run integration on master in a PR
Browse files Browse the repository at this point in the history
  • Loading branch information
masseelch committed May 5, 2022
1 parent 240a43e commit 75ecf42
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,6 @@ jobs:
--health-retries 5
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: '1.18'
Expand All @@ -407,13 +405,6 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Checkout origin/master
run: git checkout origin/master
- name: Run integration on origin/master
working-directory: entc/integration
run: go test -race -count=2 -tags='json1' ./...
- name: Checkout previous HEAD
run: git checkout -
- name: Run integration on HEAD
- name: Run integration
working-directory: entc/integration
run: go test -race -count=2 -tags='json1' ./...

0 comments on commit 75ecf42

Please sign in to comment.