diff --git a/.github/workflows/deploy_with_db.yml b/.github/workflows/deploy_with_db.yml index c835213d7..61c78945e 100644 --- a/.github/workflows/deploy_with_db.yml +++ b/.github/workflows/deploy_with_db.yml @@ -457,79 +457,79 @@ jobs: build_file: '${{ env.DOCKER_PATH_MS_SERVER }}/Dockerfile-selfhost' tag: 'standalone' - testE2E: - needs: deploy - timeout-minutes: 60 - runs-on: ubuntu-latest - if: ${{ inputs.environment != 'Production' }} - strategy: - matrix: - shard: [1, 2, 3, 4] - steps: - - uses: actions/cache@v4 - timeout-minutes: 2 - id: restore-install - with: - path: ./* - key: ${{ github.sha }}-${{ github.run_number }} + # testE2E: + # needs: deploy + # timeout-minutes: 60 + # runs-on: ubuntu-latest + # if: ${{ inputs.environment != 'Production' }} + # strategy: + # matrix: + # shard: [1, 2, 3, 4] + # steps: + # - uses: actions/cache@v4 + # timeout-minutes: 2 + # id: restore-install + # with: + # path: ./* + # key: ${{ github.sha }}-${{ github.run_number }} - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - check-latest: true - cache: 'yarn' + # - name: Set up Node.js + # uses: actions/setup-node@v4 + # with: + # node-version: 20 + # check-latest: true + # cache: 'yarn' - # TODO: cache these? - - name: Install Playwright Browsers - run: yarn playwright install --with-deps + # # TODO: cache these? + # - name: Install Playwright Browsers + # run: yarn playwright install --with-deps - - name: Run Playwright tests - run: yarn playwright test --shard=${{ matrix.shard }}/${{ strategy.job-total }} - env: - 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' }} + # - name: Run Playwright tests + # run: yarn playwright test --shard=${{ matrix.shard }}/${{ strategy.job-total }} + # env: + # 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' }} - - uses: actions/upload-artifact@v4 - if: ${{ !cancelled() }} - with: - name: all-blob-reports-${{ matrix.shard }} - path: blob-report - retention-days: 1 + # - uses: actions/upload-artifact@v4 + # if: ${{ !cancelled() }} + # with: + # name: all-blob-reports-${{ matrix.shard }} + # path: blob-report + # retention-days: 1 - create-report: - name: 📔 Create test report - if: always() - needs: [testE2E] + # create-report: + # name: 📔 Create test report + # if: always() + # needs: [testE2E] - runs-on: ubuntu-latest - steps: - - uses: actions/cache@v4 - timeout-minutes: 2 - id: restore-install - with: - path: ./* - key: ${{ github.sha }}-${{ github.run_number }} + # runs-on: ubuntu-latest + # steps: + # - uses: actions/cache@v4 + # timeout-minutes: 2 + # id: restore-install + # with: + # path: ./* + # key: ${{ github.sha }}-${{ github.run_number }} - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - check-latest: true - cache: 'yarn' + # - name: Set up Node.js + # uses: actions/setup-node@v4 + # with: + # node-version: 20 + # check-latest: true + # cache: 'yarn' - - name: Download blob reports from GitHub Actions Artifacts - uses: actions/download-artifact@v4 - with: - pattern: all-blob-reports-* - merge-multiple: true - path: all-blob-reports + # - name: Download blob reports from GitHub Actions Artifacts + # uses: actions/download-artifact@v4 + # with: + # pattern: all-blob-reports-* + # merge-multiple: true + # path: all-blob-reports - - name: Merge into HTML Report - run: npx playwright merge-reports --reporter html ./all-blob-reports + # - name: Merge into HTML Report + # run: npx playwright merge-reports --reporter html ./all-blob-reports - - name: Upload HTML report - uses: actions/upload-artifact@v4 - with: - name: html-report--attempt-${{ github.run_attempt }} - path: playwright-report - retention-days: 7 + # - name: Upload HTML report + # uses: actions/upload-artifact@v4 + # with: + # name: html-report--attempt-${{ github.run_attempt }} + # path: playwright-report + # retention-days: 7