Merge exclude paths

This commit is contained in:
Jeroen van Rijn
2025-06-11 21:00:38 +02:00
parent 8a08edbdc7
commit a2be547dfd
+3 -3
View File
@@ -40,17 +40,17 @@ jobs:
run: | run: |
./odin build tests/core/normal.odin -build-mode:test -debug -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_amd64 ./odin build tests/core/normal.odin -build-mode:test -debug -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_amd64
mkdir kcov-out mkdir kcov-out
kcov --exclude-path=tests --exclude-path=/usr kcov-out ./normal.bin . kcov --exclude-path=tests,/usr kcov-out ./normal.bin .
- name: Optimized Core library tests - name: Optimized Core library tests
run: | run: |
./odin build tests/core/speed.odin -build-mode:test -debug -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_amd64 ./odin build tests/core/speed.odin -build-mode:test -debug -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_amd64
kcov --exclude-path=tests --exclude-path=/usr kcov-out ./speed.bin . kcov --exclude-path=tests,/usr kcov-out ./speed.bin .
- name: Internals tests - name: Internals tests
run: | run: |
./odin build tests/internal -build-mode:test -debug -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_amd64 ./odin build tests/internal -build-mode:test -debug -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -target:linux_amd64
kcov --exclude-path=tests --exclude-path=/usr kcov-out ./internal . kcov --exclude-path=tests,/usr kcov-out ./internal .
- uses: codecov/codecov-action@v5 - uses: codecov/codecov-action@v5
with: with: