From 918664a572429eae66f9e33dc7ab01f47fc802f1 Mon Sep 17 00:00:00 2001 From: Koji Hasegawa Date: Sun, 12 May 2024 14:58:19 +0900 Subject: [PATCH] Fix code to test ratio settings --- .octocov.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.octocov.yml b/.octocov.yml index e870727..b121cd8 100644 --- a/.octocov.yml +++ b/.octocov.yml @@ -3,17 +3,19 @@ coverage: if: true paths: - ./Logs/Report/lcov.info # Warning: This path is replace by regex in test.yml + codeToTestRatio: code: - - 'Editor/**/*.cs' - - 'Runtime/**/*.cs' - - 'Samples~/**/*.cs' - - '!Samples~/**/Tests/**/*.cs' + - '**/*.cs' + - '!**/Tests/**' + - '!UnityProject~/Library/**' test: - - 'Tests/**/*.cs' - - 'Samples~/**/Tests/**/*.cs' + - '**/Tests/**/*.cs' + - '!UnityProject~/Library/**' + testExecutionTime: if: true + diff: datastores: - artifact://${GITHUB_REPOSITORY}