Skip to content

Commit

Permalink
endtoend: Run go test in CI (#1134)
Browse files Browse the repository at this point in the history
* endtoend: Run `go test` in CI
* Re-order some steps
  • Loading branch information
kyleconroy committed Aug 18, 2021
1 parent bed1065 commit b36e368
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,7 @@ jobs:
with:
go-version: '1.17'

- run: go build ./...
working-directory: internal/endtoend/testdata

- name: Test sqlc
- name: test ./...
run: go test --tags=examples ./...
env:
PG_USER: postgres
Expand All @@ -52,3 +49,10 @@ jobs:
MYSQL_PORT: ${{ job.services.mysql.ports['3306'] }}
MYSQL_ROOT_PASSWORD: mysecretpassword

- name: build internal/endtoend
run: go build ./...
working-directory: internal/endtoend/testdata

- name: test internal/endtoend
run: go test ./...
working-directory: internal/endtoend/testdata

0 comments on commit b36e368

Please sign in to comment.