Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .codecov.yml

This file was deleted.

26 changes: 4 additions & 22 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ jobs:
os: [ubuntu-latest, macos-latest]
go: ['1.26', '1.27']
fail-fast: false
env:
OS: ${{ matrix.os }}
GO: ${{ matrix.go }}
steps:
- if: startsWith(matrix.os, 'macos')
run: brew update
Expand All @@ -30,22 +27,16 @@ jobs:
- uses: actions/checkout@v6

- name: 'Tags: default'
run: go test -race -v -coverprofile=coverage.txt -tags ""
run: go test -race -v -tags ""

- name: 'Tags: libsqlite3'
run: go test -race -v -coverprofile=coverage.txt -tags "libsqlite3"
run: go test -race -v -tags "libsqlite3"

- name: 'Tags: full'
run: go test -race -v -coverprofile=coverage.txt -tags "sqlite_allow_uri_authority sqlite_app_armor sqlite_column_metadata sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_math_functions sqlite_os_trace sqlite_preupdate_hook sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_trace sqlite_unlock_notify sqlite_vacuum_incr sqlite_vtable"
run: go test -race -v -tags "sqlite_allow_uri_authority sqlite_app_armor sqlite_column_metadata sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_math_functions sqlite_os_trace sqlite_preupdate_hook sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_trace sqlite_unlock_notify sqlite_vacuum_incr sqlite_vtable"

- name: 'Tags: vacuum'
run: go test -race -v -coverprofile=coverage.txt -tags "sqlite_vacuum_full"

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
env_vars: OS,GO
file: coverage.txt
run: go test -race -v -tags "sqlite_vacuum_full"

test-windows:
name: Test for Windows
Expand All @@ -58,9 +49,6 @@ jobs:
matrix:
go: ['1.26', '1.27']
fail-fast: false
env:
OS: windows-latest
GO: ${{ matrix.go }}
steps:
- uses: msys2/setup-msys2@v2
with:
Expand Down Expand Up @@ -98,10 +86,4 @@ jobs:
run: go build -race -v -tags "sqlite_vacuum_full"
shell: msys2 {0}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
env_vars: OS,GO
file: coverage.txt

# based on: github.com/koron-go/_skeleton/.github/workflows/go.yml
Loading