ci: temporary disable e2e tests workflow (#4684)
Co-authored-by: Alexandr Garbuzov <qwerty541zxc@gmail.com>
This commit is contained in:
1 parent
45973cf12d
commit
d1a88db5a9
1 file changed
+12
-7
@@ -1,15 +1,20 @@
|
|||||||
name: Test Deployment
|
name: Test Deployment
|
||||||
on:
|
on:
|
||||||
deployment_status:
|
# Temporarily disabled automatic triggers; manual-only for now.
|
||||||
|
workflow_dispatch:
|
||||||
|
# Original trigger (restore to re-enable):
|
||||||
|
# deployment_status:
|
||||||
|
|
||||||
permissions: read-all
|
permissions: read-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
e2eTests:
|
e2eTests:
|
||||||
if:
|
# Temporarily disabled; set to the original condition to re-enable.
|
||||||
github.repository == 'anuraghazra/github-readme-stats' &&
|
# if:
|
||||||
github.event_name == 'deployment_status' &&
|
# github.repository == 'anuraghazra/github-readme-stats' &&
|
||||||
github.event.deployment_status.state == 'success'
|
# github.event_name == 'deployment_status' &&
|
||||||
|
# github.event.deployment_status.state == 'success'
|
||||||
|
if: false
|
||||||
name: Perform 2e2 tests
|
name: Perform 2e2 tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
@@ -32,5 +37,5 @@ jobs:
|
|||||||
|
|
||||||
- name: Run end-to-end tests.
|
- name: Run end-to-end tests.
|
||||||
run: npm run test:e2e
|
run: npm run test:e2e
|
||||||
env:
|
# env:
|
||||||
VERCEL_PREVIEW_URL: ${{ github.event.deployment_status.target_url }}
|
# VERCEL_PREVIEW_URL: ${{ github.event.deployment_status.target_url }}
|
||||||
Reference in new issue
Block a user