Skip to content

Commit

Permalink
Attempting to fix code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
safaci2000 committed Oct 14, 2024
1 parent d3c2123 commit 08ff59a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,7 @@ jobs:

- run:
name: Running tests
command: gotestsum --junitfile report.xml --format testname -- -coverprofile=cover.out ./...

command: gotestsum --junitfile report.xml --format testname -- -coverprofile=cover.out -covermode=atomic -coverpkg=github.com/go-jet/jet/v2/postgres/...,github.com/go-jet/jet/v2/mysql/...,github.com/go-jet/jet/v2/sqlite/...,github.com/go-jet/jet/v2/qrm/...,github.com/go-jet/jet/v2/generator/...,github.com/go-jet/jet/v2/internal/... ./...

# run mariaDB and cockroachdb tests. No need to collect coverage, because coverage is already included with mysql and postgres tests
- run: MY_SQL_SOURCE=MariaDB go test -v ./tests/mysql/
Expand All @@ -160,4 +159,4 @@ workflows:
version: 2
build_and_test:
jobs:
- build_and_tests
- build_and_tests

0 comments on commit 08ff59a

Please sign in to comment.