Skip to content

build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.9.0 in /errors #607

build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.9.0 in /errors

build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.9.0 in /errors #607

Workflow file for this run

name: Tests E2E
# Tests Race workflow runs unit tests with the race detector
# This workflow is run on pushes to main & every Pull Requests where a .go, .mod, .sum have been changed
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
**/**.go
**/go.mod
**/go.sum
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
- name: Build
if: env.GIT_DIFF
run: GOARCH=${{ matrix.go-arch }} LEDGER_ENABLED=false make build
test-e2e:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- name: e2e tests
if: env.GIT_DIFF
run: |
cd tests/e2e && go test ./... -mod=readonly -timeout 30m -race -tags='e2e'