Test more. (#84)

Also, fix the progress callback and disable a slow example.
This commit is contained in:
Nuno Cruces
2024-04-24 15:49:45 +01:00
committed by GitHub
parent fdb2ed0376
commit 09a0ce04ce
19 changed files with 78 additions and 62 deletions

View File

@@ -52,7 +52,8 @@ jobs:
if: matrix.os == 'ubuntu-latest'
- name: Test no locks
run: go test -v -tags sqlite3_nosys ./tests -run TestDB_nolock
run: go test -v -tags sqlite3_nosys ./...
if: matrix.os == 'ubuntu-latest'
- name: Test GORM
run: gormlite/test.sh
@@ -123,21 +124,7 @@ jobs:
- name: Test
run: go test -v ./...
test-386:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
with: { lfs: 'true' }
- uses: actions/setup-go@v5
with: { go-version: stable }
- name: Test
run: GOARCH=386 go test -v -short ./...
test-arm:
test-qemu:
runs-on: ubuntu-latest
needs: test
@@ -150,5 +137,11 @@ jobs:
- uses: docker/setup-qemu-action@v3
- name: Test
- name: Test 386
run: GOARCH=386 go test -v -short ./...
- name: Test arm64
run: GOARCH=arm64 go test -v -short ./...
- name: Test riscv64
run: GOARCH=riscv64 go test -v -short ./...