Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 8e42155

Browse files
committed
also update splits to be dynamic
1 parent 0dcc2e4 commit 8e42155

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ test:
3535

3636
test.unit:
3737
@if [ -n "$(GROUP)" ]; then \
38-
COVERAGE_CORE=sysmon python -m pytest --splits 5 --$(GROUP) --cov=./ -m "not integration" --cov-report=xml:unit.coverage.xml --junitxml=unit.junit.xml -o junit_family=legacy; \
38+
COVERAGE_CORE=sysmon python -m pytest --splits ${SPLITS} --$(GROUP) --cov=./ -m "not integration" --cov-report=xml:unit.coverage.xml --junitxml=unit.junit.xml -o junit_family=legacy; \
3939
else \
4040
COVERAGE_CORE=sysmon python -m pytest --cov=./ -m "not integration" --cov-report=xml:unit.coverage.xml --junitxml=unit.junit.xml -o junit_family=legacy; \
4141
fi
4242

4343
test.integration:
4444
@if [ -n "$(GROUP)" ]; then \
45-
COVERAGE_CORE=sysmon python -m pytest --splits 5 --$(GROUP) --cov=./ -m "integration" --cov-report=xml:integration.coverage.xml --junitxml=integration.junit.xml -o junit_family=legacy; \
45+
COVERAGE_CORE=sysmon python -m pytest --splits ${SPLITS} --$(GROUP) --cov=./ -m "integration" --cov-report=xml:integration.coverage.xml --junitxml=integration.junit.xml -o junit_family=legacy; \
4646
else \
4747
COVERAGE_CORE=sysmon python -m pytest --cov=./ -m "integration" --cov-report=xml:integration.coverage.xml --junitxml=integration.junit.xml -o junit_family=legacy; \
4848
fi

0 commit comments

Comments
 (0)