From da31e461af773c27c0bd23d14dfef442aec594d5 Mon Sep 17 00:00:00 2001 From: Tim Holm Date: Wed, 14 Jul 2021 13:42:23 +1000 Subject: [PATCH] ci: Split out integration tests. --- .github/workflows/test.yaml | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b289fc182..04cfd3cb9 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 @@ -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 \ No newline at end of file + - name: Run Integration Tests + run: make test-integration \ No newline at end of file