We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72d5f9 commit 6008e01Copy full SHA for 6008e01
1 file changed
.github/workflows/karma.yaml
@@ -45,13 +45,13 @@ jobs:
45
run: find test -name "*.spec.ts" -o -name "*.spec.js" > test_list.txt
46
- name: Run all tests
47
run: |
48
- KARMA_FILES=$(cat test_list.txt | jq -R -s -c 'split("\n")[:-1]')
+ export KARMA_FILES=$(cat test_list.txt | jq -R -s -c 'split("\n")[:-1]')
49
npx karma start --single-run
50
- name: Record tests
51
run: launchable record tests karma test-results.json
52
- name: Request subset
53
run: cat test_list.txt | launchable subset --target 25% karma > subset.txt
54
- name: Run subset of tests
55
56
- KARMA_FILES=$(cat subset.txt | jq -R -s -c 'split("\n")[:-1]')
+ export KARMA_FILES=$(cat subset.txt | jq -R -s -c 'split("\n")[:-1]')
57
0 commit comments