@@ -37,11 +37,15 @@ jobs:
37
37
fail-fast : false
38
38
matrix :
39
39
# Number of threads to run tests
40
- parallel : [0, 1, 2, 3]
40
+ parallel : [0, 1, 2, 3, 4, 5 ]
41
41
42
42
steps :
43
43
- uses : actions/checkout@v4
44
44
45
+ - name : Get current date
46
+ id : date
47
+ uses : ./.github/actions/get-current-date
48
+
45
49
# SSH Debug
46
50
- name : Enable SSH
47
51
uses : mxschmitt/action-tmate@v3
62
66
- name : Generate short list of the test files
63
67
working-directory : ./tests/e2e
64
68
run : |
65
- testFiles=$(find tests/web -type f -name '*.e2e.ts' | sort | awk "NR % 4 == ${{ matrix.parallel }}")
69
+ testFiles=$(find tests/web -type f -name '*.e2e.ts' | sort | awk "NR % 6 == ${{ matrix.parallel }}")
66
70
67
71
echo $testFiles
68
72
72
76
echo "EOF" >> $GITHUB_ENV
73
77
74
78
- name : Run tests
79
+ timeout-minutes : 80
75
80
run : |
76
81
export NODE_INDEX=${{ matrix.parallel }}
77
82
@@ -112,18 +117,10 @@ jobs:
112
117
uses : ./.github/actions/deploy-test-reports
113
118
with :
114
119
group : ' report'
120
+ path : " ${{ vars.DEFAULT_TEST_REPORTS_URL }}/${{ steps.date.outputs.date }}/${{ github.run_id }}/${{ env.REPORT_NAME }}-${{ matrix.parallel }}"
115
121
AWS_BUCKET_NAME_TEST : ${{ vars.AWS_BUCKET_NAME_TEST }}
116
122
AWS_DEFAULT_REGION : ${{ vars.AWS_DEFAULT_REGION }}
117
123
AWS_DISTRIBUTION_ID : ${{ secrets.AWS_DISTRIBUTION_ID }}
118
124
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
119
125
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
120
126
121
- - name : Add link to report in the workflow summary
122
- if : always()
123
- run : |
124
- DATE=$(date +'%Y-%m-%d')
125
- link="${{ vars.DEFAULT_TEST_REPORTS_URL }}/${DATE}/${{ github.run_id }}/${{ env.REPORT_NAME }}-${{ matrix.parallel }}/index.html"
126
-
127
- echo "- [${link}](${link})" >> $GITHUB_STEP_SUMMARY
128
-
129
-
0 commit comments