From 63d485ebbf2810e41390d7eeafdfa16d831e24b1 Mon Sep 17 00:00:00 2001 From: Marie Idleman Date: Tue, 26 Nov 2024 07:40:13 -0600 Subject: [PATCH] update full --- .github/workflows/positron-full-test.yml | 9 +++++++-- .github/workflows/positron-merge-to-branch.yml | 15 +-------------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/workflows/positron-full-test.yml b/.github/workflows/positron-full-test.yml index cdbb45ea4c2..c987cd8c399 100644 --- a/.github/workflows/positron-full-test.yml +++ b/.github/workflows/positron-full-test.yml @@ -137,7 +137,7 @@ jobs: POSITRON_PY_VER_SEL: 3.10.12 POSITRON_R_VER_SEL: 4.4.0 id: electron-tests - run: DISPLAY=:10 npx pwc --project e2e-electron --workers 1 --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} + run: DISPLAY=:10 npx playwright test --project e2e-electron --workers 1 --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} - name: Upload blob report if: ${{ !cancelled() }} @@ -198,8 +198,13 @@ jobs: env: POSITRON_PY_VER_SEL: 3.10.12 POSITRON_R_VER_SEL: 4.4.0 + CURRENTS_PROJECT_ID: ZOs5z2 + CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }} + CURRENTS_CI_BUILD_ID: ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }} + COMMIT_INFO_MESSAGE: ${{ github.event.head_commit.message }} # only works on push events + PWTEST_BLOB_DO_NOT_REMOVE: 1 # Add the env variable to not remove id: browser-tests - run: DISPLAY=:10 npx pwc --project e2e-browser --workers 1 + run: DISPLAY=:10 npx playwright test --project e2e-browser --workers 1 - name: Upload blob report if: ${{ !cancelled() }} diff --git a/.github/workflows/positron-merge-to-branch.yml b/.github/workflows/positron-merge-to-branch.yml index cda597782b2..25d2cbba726 100644 --- a/.github/workflows/positron-merge-to-branch.yml +++ b/.github/workflows/positron-merge-to-branch.yml @@ -46,18 +46,6 @@ jobs: with: node-version-file: .nvmrc - - uses: actions/checkout@v4 - - name: Setup tmate session - uses: mxschmitt/action-tmate@v3 - - - name: Get latest commit message - run: | - echo "Latest commit message: ${{ github.event.pull_request.head.commit.message }}" - - - name: Get Commit Message using git - run: | - COMMIT_INFO_MESSAGE=$(git log -1 --pretty=%B) - echo "Commit message: $COMMIT_MESSAGE" - name: Cache node_modules, build, extensions, and remote uses: ./.github/actions/cache-multi-paths @@ -83,10 +71,9 @@ jobs: env: POSITRON_PY_VER_SEL: 3.10.12 POSITRON_R_VER_SEL: 4.4.0 - # CURRENTS_PROJECT_ID: ZOs5z2 CURRENTS_RECORD_KEY: ${{ secrets.CURRENTS_RECORD_KEY }} CURRENTS_CI_BUILD_ID: ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }} - # COMMIT_INFO_MESSAGE: ${{ github.event.head_commit.message }} + COMMIT_INFO_MESSAGE: ${{ github.event.head_commit.message }} PWTEST_BLOB_DO_NOT_REMOVE: 1 # Add the env variable to not remove test blobs id: e2e-playwright-tests run: DISPLAY=:10 npx playwright test --project e2e-electron --workers 2 --grep=${{ env.E2E_GREP }}