Skip to content

Commit bd96bdb

Browse files
authored
Merge pull request #742 from PROCEED-Labs/disable-ms-e2e-tests
Disabling MS E2E Tests
2 parents 4cfad86 + 3107928 commit bd96bdb

1 file changed

Lines changed: 66 additions & 66 deletions

File tree

.github/workflows/deploy_with_db.yml

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -457,79 +457,79 @@ jobs:
457457
build_file: '${{ env.DOCKER_PATH_MS_SERVER }}/Dockerfile-selfhost'
458458
tag: 'standalone'
459459

460-
testE2E:
461-
needs: deploy
462-
timeout-minutes: 60
463-
runs-on: ubuntu-latest
464-
if: ${{ inputs.environment != 'Production' }}
465-
strategy:
466-
matrix:
467-
shard: [1, 2, 3, 4]
468-
steps:
469-
- uses: actions/cache@v4
470-
timeout-minutes: 2
471-
id: restore-install
472-
with:
473-
path: ./*
474-
key: ${{ github.sha }}-${{ github.run_number }}
460+
# testE2E:
461+
# needs: deploy
462+
# timeout-minutes: 60
463+
# runs-on: ubuntu-latest
464+
# if: ${{ inputs.environment != 'Production' }}
465+
# strategy:
466+
# matrix:
467+
# shard: [1, 2, 3, 4]
468+
# steps:
469+
# - uses: actions/cache@v4
470+
# timeout-minutes: 2
471+
# id: restore-install
472+
# with:
473+
# path: ./*
474+
# key: ${{ github.sha }}-${{ github.run_number }}
475475

476-
- name: Set up Node.js
477-
uses: actions/setup-node@v4
478-
with:
479-
node-version: 20
480-
check-latest: true
481-
cache: 'yarn'
476+
# - name: Set up Node.js
477+
# uses: actions/setup-node@v4
478+
# with:
479+
# node-version: 20
480+
# check-latest: true
481+
# cache: 'yarn'
482482

483-
# TODO: cache these?
484-
- name: Install Playwright Browsers
485-
run: yarn playwright install --with-deps
483+
# # TODO: cache these?
484+
# - name: Install Playwright Browsers
485+
# run: yarn playwright install --with-deps
486486

487-
- name: Run Playwright tests
488-
run: yarn playwright test --shard=${{ matrix.shard }}/${{ strategy.job-total }}
489-
env:
490-
PLAYWRIGHT_TEST_BASE_URL: ${{ github.event_name == 'pull_request' && format('https://pr-{0}---ms-server-staging-c4f6qdpj7q-ew.a.run.app', github.event.number) || 'https://staging.proceed-labs.org' }}
487+
# - name: Run Playwright tests
488+
# run: yarn playwright test --shard=${{ matrix.shard }}/${{ strategy.job-total }}
489+
# env:
490+
# PLAYWRIGHT_TEST_BASE_URL: ${{ github.event_name == 'pull_request' && format('https://pr-{0}---ms-server-staging-c4f6qdpj7q-ew.a.run.app', github.event.number) || 'https://staging.proceed-labs.org' }}
491491

492-
- uses: actions/upload-artifact@v4
493-
if: ${{ !cancelled() }}
494-
with:
495-
name: all-blob-reports-${{ matrix.shard }}
496-
path: blob-report
497-
retention-days: 1
492+
# - uses: actions/upload-artifact@v4
493+
# if: ${{ !cancelled() }}
494+
# with:
495+
# name: all-blob-reports-${{ matrix.shard }}
496+
# path: blob-report
497+
# retention-days: 1
498498

499-
create-report:
500-
name: 📔 Create test report
501-
if: always()
502-
needs: [testE2E]
499+
# create-report:
500+
# name: 📔 Create test report
501+
# if: always()
502+
# needs: [testE2E]
503503

504-
runs-on: ubuntu-latest
505-
steps:
506-
- uses: actions/cache@v4
507-
timeout-minutes: 2
508-
id: restore-install
509-
with:
510-
path: ./*
511-
key: ${{ github.sha }}-${{ github.run_number }}
504+
# runs-on: ubuntu-latest
505+
# steps:
506+
# - uses: actions/cache@v4
507+
# timeout-minutes: 2
508+
# id: restore-install
509+
# with:
510+
# path: ./*
511+
# key: ${{ github.sha }}-${{ github.run_number }}
512512

513-
- name: Set up Node.js
514-
uses: actions/setup-node@v4
515-
with:
516-
node-version: 20
517-
check-latest: true
518-
cache: 'yarn'
513+
# - name: Set up Node.js
514+
# uses: actions/setup-node@v4
515+
# with:
516+
# node-version: 20
517+
# check-latest: true
518+
# cache: 'yarn'
519519

520-
- name: Download blob reports from GitHub Actions Artifacts
521-
uses: actions/download-artifact@v4
522-
with:
523-
pattern: all-blob-reports-*
524-
merge-multiple: true
525-
path: all-blob-reports
520+
# - name: Download blob reports from GitHub Actions Artifacts
521+
# uses: actions/download-artifact@v4
522+
# with:
523+
# pattern: all-blob-reports-*
524+
# merge-multiple: true
525+
# path: all-blob-reports
526526

527-
- name: Merge into HTML Report
528-
run: npx playwright merge-reports --reporter html ./all-blob-reports
527+
# - name: Merge into HTML Report
528+
# run: npx playwright merge-reports --reporter html ./all-blob-reports
529529

530-
- name: Upload HTML report
531-
uses: actions/upload-artifact@v4
532-
with:
533-
name: html-report--attempt-${{ github.run_attempt }}
534-
path: playwright-report
535-
retention-days: 7
530+
# - name: Upload HTML report
531+
# uses: actions/upload-artifact@v4
532+
# with:
533+
# name: html-report--attempt-${{ github.run_attempt }}
534+
# path: playwright-report
535+
# retention-days: 7

0 commit comments

Comments
 (0)