Skip to content

Commit a0c46e7

Browse files
opheliagoldsteinqwerty541Copilot
authored
ci: restore e2e test workflow (anuraghazra#4708)
* ci: restore e2e test workflow * Update .github/workflows/e2e-test.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 14718f3 commit a0c46e7

1 file changed

Lines changed: 8 additions & 13 deletions

File tree

.github/workflows/e2e-test.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
name: Test Deployment
22
on:
3-
# Temporarily disabled automatic triggers; manual-only for now.
4-
workflow_dispatch:
5-
# Original trigger (restore to re-enable):
6-
# deployment_status:
3+
deployment_status:
74

85
permissions: read-all
96

107
jobs:
118
e2eTests:
12-
# Temporarily disabled; set to the original condition to re-enable.
13-
# if:
14-
# github.repository == 'anuraghazra/github-readme-stats' &&
15-
# github.event_name == 'deployment_status' &&
16-
# github.event.deployment_status.state == 'success'
17-
if: false
18-
name: Perform 2e2 tests
9+
if:
10+
github.repository == 'anuraghazra/github-readme-stats' &&
11+
github.event_name == 'deployment_status' &&
12+
github.event.deployment_status.state == 'success'
13+
name: Perform e2e tests
1914
runs-on: ubuntu-latest
2015
strategy:
2116
matrix:
@@ -37,5 +32,5 @@ jobs:
3732

3833
- name: Run end-to-end tests.
3934
run: npm run test:e2e
40-
# env:
41-
# VERCEL_PREVIEW_URL: ${{ github.event.deployment_status.target_url }}
35+
env:
36+
VERCEL_PREVIEW_URL: ${{ github.event.deployment_status.target_url }}

0 commit comments

Comments
 (0)