File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -39,22 +39,34 @@ jobs:
39
39
40
40
- name : Vet
41
41
run : go vet ./...
42
- continue-on-error : true
43
42
44
43
- name : Build
45
44
run : go build -v ./...
46
45
47
46
- name : Test
48
47
run : go test -v ./...
49
48
50
- - name : Test no locks
51
- run : go test -v -tags sqlite3_nolock .
52
- if : matrix.os == 'ubuntu-latest'
53
-
54
49
- name : Test BSD locks
55
50
run : go test -v -tags sqlite3_flock ./...
56
51
if : matrix.os == 'macos-latest'
57
52
53
+ - name : Build FreeBSD tests
54
+ run : GOOS=freebsd go test -c ./...
55
+ if : matrix.os == 'macos-latest'
56
+
57
+ - name : Run FreeBSD tests in a xHyve VM
58
+ uses : cross-platform-actions/action@master
59
+ with :
60
+ operating_system : freebsd
61
+ version : ' 13.2'
62
+ run : |
63
+ find . -name '*.test' -maxdepth 1 -exec {} -test.v \;
64
+ if : matrix.os == 'macos-latest'
65
+
66
+ - name : Test no locks
67
+ run : go test -v -tags sqlite3_nolock .
68
+ if : matrix.os == 'ubuntu-latest'
69
+
58
70
- name : Coverage report
59
71
uses : ncruces/go-coverage-report@v0
60
72
with :
You can’t perform that action at this time.
0 commit comments