Skip to content

Merge pull request #26 from linouxis9/master #24

Merge pull request #26 from linouxis9/master

Merge pull request #26 from linouxis9/master #24

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test-linux:
strategy:
matrix:
go-version: [1.19.x, 1.20.x]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v1
- name: Test
run: go test ./...
- name: Bench
run: go test -benchmem -bench . ./...
#test-macos:
# strategy:
# matrix:
# go-version: [1.19.x, 1.20.x]
# runs-on: macos-latest
# steps:
# - name: Install Go
# uses: actions/setup-go@v1
# with:
# go-version: ${{ matrix.go-version }}
# - name: Checkout code
# uses: actions/checkout@v1
# - name: Test
# run: go test ./...
# - name: Bench
# run: go test -benchmem -bench . ./...
#test-windows:
# strategy:
# matrix:
# go-version: [1.19.x, 1.20.x]
# runs-on: windows-latest
# steps:
# - name: Install Go
# uses: actions/setup-go@v1
# with:
# go-version: ${{ matrix.go-version }}
# - name: Checkout code
# uses: actions/checkout@v1
# - name: Test
# run: go test ./...
# - name: Bench
# run: go test -benchmem -bench . ./...