@@ -28,18 +28,19 @@ jobs:
2828 run : npm ci
2929
3030 - name : Run Vitest Tests (Shard ${{ matrix.shard }}/${{ matrix.total-shards }})
31+ working-directory : ./packages/vitest-sharded
3132 continue-on-error : true
32- run : npx vitest --run --shard=${{ matrix.shard }}/${{ matrix.total-shards }} vitest-sharded-example /tests/** --reporter=junit --outputFile=./vitest-sharded-example/ results-${{ matrix.shard }}.xml
33+ run : npx vitest --run --shard=${{ matrix.shard }}/${{ matrix.total-shards }} . /tests/** --reporter=junit --outputFile=.results-${{ matrix.shard }}.xml
3334
34- - name : Combine Vitest Sharded results
35- run : node ./scripts/combineResults.js --reports-dir vitest-sharded-example --output-file vitest-sharded-example/currents .results.xml
35+ # - name: Combine Vitest Sharded results
36+ # run: node ./scripts/combineResults.js --reports-dir .results --output-file .results/merged .results.xml
3637
37- - name : Generate Instance files
38- run : node scripts/junitXmlToInstanceJson.js --input vitest-sharded-example /currents.results.xml --output vitest-sharded-example /instances
38+ # - name: Generate Instance files
39+ # run: node ../ scripts/junitXmlToInstanceJson.js --input .results /currents.results.xml --output .results /instances
3940
40- - name : Report Vitest Sharded results
41- env :
42- CURRENTS_KEY : ${{ secrets.CURRENTS_KEY }}
43- CURRENTS_PROJECT_ID : ${{ secrets.CURRENTS_PROJECT_ID }}
44- CURRENTS_CI_BUILD_ID : ${{ github.run_id }}-${{ github.run_number }}
45- run : node scripts/uploadResults.js --report-dir vitest-sharded-example
41+ # - name: Report Vitest Sharded results
42+ # env:
43+ # CURRENTS_KEY: ${{ secrets.CURRENTS_KEY }}
44+ # CURRENTS_PROJECT_ID: ${{ secrets.CURRENTS_PROJECT_ID }}
45+ # CURRENTS_CI_BUILD_ID: ${{ github.run_id }}-${{ github.run_number }}
46+ # run: node scripts/uploadResults.js --report-dir vitest-sharded-example
0 commit comments