Skip to content

Commit

Permalink
update full
Browse files Browse the repository at this point in the history
  • Loading branch information
midleman committed Nov 26, 2024
1 parent 37ec510 commit 63d485e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 16 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/positron-full-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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() }}
Expand Down Expand Up @@ -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() }}
Expand Down
15 changes: 1 addition & 14 deletions .github/workflows/positron-merge-to-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 63d485e

Please sign in to comment.