forked from gofiber/storage
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (33 loc) · 960 Bytes
/
test-sqlite3.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
on:
push:
branches:
- master
- main
paths:
- 'sqlite3/**'
pull_request:
paths:
- 'sqlite3/**'
name: "Tests Sqlite3"
jobs:
Tests:
strategy:
matrix:
go-version:
- 1.19.x
- 1.20.x
- 1.21.x
runs-on: ubuntu-latest
steps:
- name: Fetch Repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '${{ matrix.go-version }}'
- name: Test SQLite3 - with -race check
if: runner.os != 'Windows'
run: cd ./sqlite3 && go test ./... -v -race
- name: Test SQLite3 - without -race check
if: runner.os == 'Windows'
run: cd ./sqlite3 && go test ./... -v