Skip to content

Commit 6ebaf4b

Browse files
committed
fix: use OS name
1 parent f04dcb0 commit 6ebaf4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ jobs:
7878
smart-tests record session --build ${GITHUB_RUN_ID} --session ${GITHUB_RUN_NUMBER}-${GITHUB_JOB} --flavor os=${{ matrix.os }} --flavor python=$(cat .python-version)
7979
8080
# Find 25% of the relevant tests to run for this change
81-
find tests -name test_*.py | grep -v tests/data | smart-tests subset file --build ${GITHUB_RUN_ID} --session ${GITHUB_RUN_NUMBER}-${GITHUB_JOB} --target 25% --rest smart-tests-remainder.txt > subset.txt
81+
find tests -name test_*.py | grep -v tests/data | smart-tests subset file --build ${GITHUB_RUN_ID} --session ${GITHUB_RUN_NUMBER}-${{ matrix.os }} --target 25% --rest smart-tests-remainder.txt > subset.txt
8282
8383
function record() {
8484
# Record test results
85-
SMART_TESTS_SLACK_NOTIFICATION=true smart-tests record test file --build ${GITHUB_RUN_ID} --session ${GITHUB_RUN_NUMBER}-${GITHUB_JOB} test-results/*.xml
85+
SMART_TESTS_SLACK_NOTIFICATION=true smart-tests record test file --build ${GITHUB_RUN_ID} --session ${GITHUB_RUN_NUMBER}-${{ matrix.os }} test-results/*.xml
8686
}
8787
8888
trap record EXIT

0 commit comments

Comments
 (0)