diff --git a/.codecov.yml b/.codecov.yml deleted file mode 100644 index 35cde5cd..00000000 --- a/.codecov.yml +++ /dev/null @@ -1,4 +0,0 @@ -coverage: - status: - project: off - patch: off diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index cbbd40f9..cf5a83ec 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -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 @@ -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 @@ -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: @@ -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