From 08ff59a9ee66321bb1ff5844a75972b177038920 Mon Sep 17 00:00:00 2001 From: Samir Faci Date: Mon, 14 Oct 2024 09:33:13 -0400 Subject: [PATCH] Attempting to fix code coverage --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 207e700f..ffa364fc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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/ @@ -160,4 +159,4 @@ workflows: version: 2 build_and_test: jobs: - - build_and_tests \ No newline at end of file + - build_and_tests