Skip to content

Fix e2e test

Fix e2e test #83

Workflow file for this run

name: Go
on:
push:
branches: [ "*" ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
strategy:
matrix:
version: [1.15, 1.16, 1.17, 1.18, 1.19]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.version }}
cache: true
- name: Build
run: go build -v ./...
test:
strategy:
matrix:
version: [1.15, 1.16, 1.17, 1.18, 1.19]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.version }}
cache: true
- name: Unit tests
run: go test -v ./...
race-condition:
strategy:
matrix:
version: [1.15, 1.16, 1.17, 1.18, 1.19]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.version }}
cache: true
- name: Test race condition
run: go test -race -vet=off ./...