From 23d6a8800b8eb18953deccfe2cc7fcc401a1676e Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Thu, 15 Apr 2021 00:55:01 -0700 Subject: [PATCH] tests: split unit and integration Signed-off-by: Andrea Luzzardi --- .github/workflows/ci.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 21bad162..205120ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,6 +42,23 @@ jobs: name: Test runs-on: ubuntu-latest timeout-minutes: 30 + steps: + - name: Check out + uses: actions/checkout@v2 + + - name: Set up Go + uses: actions/setup-go@v1 + with: + go-version: 1.16 + + - name: Test + run: | + make test + + integration: + name: Integration + runs-on: ubuntu-latest + timeout-minutes: 30 steps: - name: Check out uses: actions/checkout@v2 @@ -69,10 +86,6 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Test - run: | - make test - - name: Integration test run: | make integration @@ -83,4 +96,4 @@ jobs: with: report_paths: "tests/*.xml" github_token: ${{ secrets.GITHUB_TOKEN }} - check_name: "Test Report" + check_name: "Report"