Skip to content

Commit a51b85e

Browse files
committed
Enabled Playwright tests by default
1 parent 869a666 commit a51b85e

File tree

3 files changed

+54
-5
lines changed

3 files changed

+54
-5
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "E2E: Playwright Manual run"
2+
on:
3+
workflow_dispatch:
4+
sha:
5+
required: true
6+
type: string
7+
8+
permissions:
9+
contents: read
10+
checks: write
11+
statuses: write
12+
13+
jobs:
14+
build-and-test:
15+
uses: ./.github/workflows/e2e-playwright-run.yml
16+
secrets: inherit
17+
with:
18+
sha: ${{ github.sha }}
19+
20+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Playwright E2E: PR smoke tests"
2+
on:
3+
pull_request:
4+
types: [ "opened", "reopened", "synchronize" ]
5+
paths:
6+
- "build.gradle"
7+
- "gradle.properties"
8+
- "settings.gradle"
9+
- "gradle/libs.versions.toml"
10+
11+
- "contract/**"
12+
- "api/**"
13+
- "serde-api/**"
14+
- "frontend/**"
15+
- "e2e-playwright/**"
16+
17+
permissions:
18+
contents: read
19+
checks: write
20+
statuses: write
21+
22+
jobs:
23+
build-and-test:
24+
uses: ./.github/workflows/e2e-playwright-run.yml
25+
secrets: inherit
26+
with:
27+
sha: ${{ github.event.pull_request.head.sha }}

.github/workflows/e2e-playwright.yml renamed to .github/workflows/e2e-playwright-run.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
name: "E2E: Playwright Manual run"
1+
name: "E2E: Playwright"
2+
23
on:
3-
workflow_dispatch:
4-
sha:
5-
required: true
6-
type: string
4+
workflow_call:
5+
inputs:
6+
sha:
7+
required: true
8+
type: string
79

810
permissions:
911
contents: read

0 commit comments

Comments
 (0)