Skip to content

Commit

Permalink
ci: Split out integration tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjholm committed Jul 14, 2021
1 parent 3e8b763 commit da31e46
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@ on: pull_request

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
token: ${{secrets.GOLANG_TOKEN}}
submodules: recursive
- name: Setup Go
uses: actions/setup-go@v2-beta
- name: Install Protoc
uses: arduino/setup-protoc@v1
- name: Install modules
run: make install-tools
- name: Check Source License Headers
run: make license-header-check
- name: Run Tests
run: make test
- name: Check Dependency Licenses
run: make license-check

# Run integration tests
test-integration:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -28,9 +50,5 @@ jobs:
uses: google-github-actions/setup-gcloud@master
- name: Install Google Cloud SDK components
run: yes | gcloud components install beta cloud-firestore-emulator
- name: Check Source License Headers
run: make license-header-check
- name: Run Tests
run: make test
- name: Check Dependency Licenses
run: make license-check
- name: Run Integration Tests
run: make test-integration

0 comments on commit da31e46

Please sign in to comment.