Skip to content

chore: update dependencies and refactor tests #172

chore: update dependencies and refactor tests

chore: update dependencies and refactor tests #172

Workflow file for this run

name: Run Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go: [1.14, 1.15, 1.16, 1.17, 1.18, 1.19]
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
env:
GO111MODULE: on
GOPROXY: https://proxy.golang.org
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Checkout Code
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Run Testing
run: |
go test -v -bench=. ./example36-performance/...
go test -v -run=^$ -benchmem -bench . ./example52-ring-buffer-queue/...