Skip to content

Commit

Permalink
.github: add tests to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
crawshaw authored and raggi committed May 13, 2024
1 parent 3a8bdde commit 9961a0c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test-sqlite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: test-sqlite

on:
push:
branches: [ main ]
pull_request:
types: [opened, reopened, synchronize]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

- name: Race
run: go test -v -race ./...

0 comments on commit 9961a0c

Please sign in to comment.