mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 13:55:17 +00:00
35 lines
688 B
YAML
35 lines
688 B
YAML
name: Test
|
|
on:
|
|
pull_request:
|
|
push:
|
|
paths:
|
|
- "**.go"
|
|
branches:
|
|
- main
|
|
- release/**
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
part: ["00", "01", "02", "03", "04", "05"]
|
|
steps:
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: "1.18"
|
|
- uses: actions/checkout@v3
|
|
- uses: technote-space/get-diff-action@v6
|
|
with:
|
|
PATTERNS: |
|
|
**/**.go
|
|
"!test/"
|
|
go.mod
|
|
go.sum
|
|
Makefile
|
|
- name: Run Go Tests
|
|
run: |
|
|
make test-group-${{ matrix.part }} NUM_SPLIT=6
|
|
if: env.GIT_DIFF
|