Skip to content

docs: v1.6.0 Release Documentation - Comprehensive Changelog & README Updates #372

docs: v1.6.0 Release Documentation - Comprehensive Changelog & README Updates

docs: v1.6.0 Release Documentation - Comprehensive Changelog & README Updates #372

Workflow file for this run

name: Tests
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go: ['1.24', '1.25']
env:
# Prevent Go from auto-downloading toolchain which conflicts with setup-go cache
GOTOOLCHAIN: local
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: true
- name: Get dependencies
run: go mod download
- name: Run tests
run: go test -v -race -coverprofile coverage.txt -covermode atomic ./pkg/...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
file: ./coverage.txt
flags: unittests
name: codecov-${{ matrix.os }}-${{ matrix.go }}
continue-on-error: true
benchmark:
name: Benchmark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
cache: true
- name: Run benchmarks
run: |
go test -bench=. -benchmem ./pkg/sql/tokenizer/
go test -bench=. -benchmem ./pkg/sql/parser/
go test -bench=. -benchmem ./pkg/sql/ast/