Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Commit

Permalink
PMM-7 splitting check and build jobs to make it consistent with other…
Browse files Browse the repository at this point in the history
… repos and make it clear what failed. (#209)
  • Loading branch information
BupycHuk authored Apr 29, 2022
1 parent ec40520 commit 47e096b
Showing 1 changed file with 30 additions and 9 deletions.
39 changes: 30 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,36 @@ jobs:
- 1.18.x
runs-on: ubuntu-latest

steps:
- name: Set up Go release
uses: percona-platform/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Checkout code
uses: percona-platform/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Build and install
run: make install

- name: Run Tests
run: |
make test-cover
make test-crosscover
make test-race
check:
name: Check

strategy:
fail-fast: false
matrix:
go-version:
- 1.18.x
runs-on: ubuntu-latest

steps:
- name: Set up Go release
uses: percona-platform/setup-go@v2
Expand Down Expand Up @@ -47,12 +77,3 @@ jobs:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: make ci-reviewdog

- name: Build and install
run: make install

- name: Run Tests
run: |
make test-cover
make test-crosscover
make test-race

0 comments on commit 47e096b

Please sign in to comment.