Skip to content

Commit 9588703

Browse files
authored
Merge branch 'main' into feat-color-palette
2 parents fb932ab + adcde31 commit 9588703

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/02-e2e-showcases.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ permissions:
99

1010
jobs:
1111
playwright-showcases:
12-
name: 🧪🎭 - ${{ matrix.framework }}:${{ matrix.shard }}
12+
name: 🧪🎭 - ${{ matrix.framework }}:${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
1313
runs-on: ubuntu-latest
1414
container:
1515
image: mcr.microsoft.com/playwright:v1.41.0
1616
strategy:
1717
fail-fast: false
1818
matrix:
1919
framework: [angular, react, vue]
20-
shard: [1/2, 2/2]
20+
shardIndex: [1, 2]
21+
shardTotal: [2]
2122
steps:
2223
- name: ⏬ Checkout repo
2324
uses: actions/checkout@v4
@@ -55,7 +56,7 @@ jobs:
5556
- name: 👩‍🔬 Test showcase with Playwright 🎭
5657
env:
5758
HOME: /root
58-
run: npm run test:${{ matrix.framework }}-showcase -- -- --shard=${{ matrix.shard }}
59+
run: npm run test:${{ matrix.framework }}-showcase -- -- --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
5960

6061
- name: 🔣 Print GitHub Report
6162
if: failure()
@@ -67,6 +68,6 @@ jobs:
6768
if: failure()
6869
uses: actions/upload-artifact@v4
6970
with:
70-
name: ${{ matrix.framework }}-showcase-playwright-results-${{ matrix.shard }}
71+
name: ${{ matrix.framework }}-showcase-playwright-results-${{ matrix.shardIndex }}
7172
path: ./showcases/${{ matrix.framework }}-showcase/test-results
7273
retention-days: 30

.github/workflows/02-e2e.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ permissions:
99

1010
jobs:
1111
playwright-ct:
12-
name: 🧪🎭 - ${{ matrix.framework }}:${{ matrix.shard }}
12+
name: 🧪🎭 - ${{ matrix.framework }}:${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
1313
runs-on: ubuntu-latest
1414
container:
1515
image: mcr.microsoft.com/playwright:v1.41.0
1616
strategy:
1717
fail-fast: false
1818
matrix:
1919
framework: [react, vue]
20-
shard: [1/3, 2/3, 3/3]
20+
shardIndex: [1, 2, 3]
21+
shardTotal: [3]
2122
steps:
2223
- name: ⏬ Checkout repo
2324
uses: actions/checkout@v4
@@ -60,7 +61,7 @@ jobs:
6061
working-directory: ./output/${{ steps.workingDirectory.outputs.dir }}
6162
env:
6263
HOME: /root
63-
run: npx playwright test --shard=${{ matrix.shard }}
64+
run: npx playwright test --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
6465

6566
- name: 🔣 Print GitHub Report
6667
if: failure()
@@ -73,6 +74,6 @@ jobs:
7374
if: failure()
7475
uses: actions/upload-artifact@v4
7576
with:
76-
name: ${{ matrix.framework }}-components-playwright-results-${{ matrix.shard }}
77+
name: ${{ matrix.framework }}-components-playwright-results-${{ matrix.shardIndex }}
7778
path: ./output/${{ steps.workingDirectory.outputs.dir }}/test-results
7879
retention-days: 30

0 commit comments

Comments
 (0)