forked from mirror/go-sqlite3
Fix go.yaml
This commit is contained in:
parent
fd606f826a
commit
c14096f123
|
@ -13,8 +13,8 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-latest, macos-latest ]
|
||||
go: [ '1.11.13', '1.12.17', '1.13.15', '1.14.7', '1.15' ]
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
go: ['1.11.13', '1.12.17', '1.13.15', '1.14.7', '1.15']
|
||||
fail-fast: false
|
||||
steps:
|
||||
- if: startsWith(matrix.os, 'macos')
|
||||
|
@ -38,16 +38,16 @@ jobs:
|
|||
- name: Setup goveralls
|
||||
run: goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx -parallel
|
||||
|
||||
- name: Test1
|
||||
- name: 'Tags: default'
|
||||
run: go test -race -v . -tags ""
|
||||
|
||||
- name: Test2
|
||||
- name: 'Tags: libsqlite3'
|
||||
run: go test -race -v . -tags "libsqlite3"
|
||||
|
||||
- name: Test3
|
||||
- name: 'Tags: full'
|
||||
run: go test -race -v . -tags "sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_preupdate_hook sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_trace sqlite_userauth sqlite_vacuum_incr sqlite_vtable sqlite_unlock_notify"
|
||||
|
||||
- name: Test4
|
||||
- name: 'Tags: vacuum'
|
||||
run: go test -race -v . -tags "sqlite_vacuum_full"
|
||||
|
||||
test-windows:
|
||||
|
@ -59,7 +59,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
go: [ '1.11.13', '1.12.17', '1.13.15', '1.14.7', '1.15' ]
|
||||
go: ['1.11.13', '1.12.17', '1.13.15', '1.14.7', '1.15']
|
||||
fail-fast: false
|
||||
steps:
|
||||
- uses: msys2/setup-msys2@v2
|
||||
|
@ -126,6 +126,6 @@ jobs:
|
|||
echo "::add-path::$(go env GOPATH)/bin"
|
||||
- name: Send coverage
|
||||
env:
|
||||
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
COVERALLS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
run: goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx -parallel-finish
|
||||
# based on: github.com/koron-go/_skeleton/.github/workflows/go.yml
|
||||
|
|
Loading…
Reference in New Issue