Skip to content

Added current benchmark #12

Added current benchmark

Added current benchmark #12

Workflow file for this run

on:
push:
branches:
- "*"
name: Test Across Matrix
jobs:
test:
## We want to define a strategy for our job
strategy:
## this will contain a matrix of all of the combinations
## we wish to test again:
matrix:
go-version: [1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x]
platform: [ubuntu-latest, macos-latest, windows-latest]
## Defines the platform for each test run
runs-on: ${{ matrix.platform }}
## the steps that will be run through for each version and platform
## combination
steps:
## sets up go based on the version
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
## checks out our code locally so we can work with the files
- name: Checkout code
uses: actions/checkout@v2
## runs go test ./...
- name: Test
run: go test ./...