Skip to content

benchmarks

benchmarks #4

Workflow file for this run

name: Go Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23.4'
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: go test ./...
test-neon:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23.4'
- name: Install dependencies
run: go mod tidy
- name: Run NEON tests
run: go test -tags=neon ./...
benchmark:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23.4'
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: go test -bench=.
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23.4'
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: gofmt -l .