Skip to content

e2e: Flake fix - Reload window after anthropic sign in (#11610) #2356

e2e: Flake fix - Reload window after anthropic sign in (#11610)

e2e: Flake fix - Reload window after anthropic sign in (#11610) #2356

Workflow file for this run

name: "Test: Merge to branch"
on:
push:
branches:
- main
- "prerelease/**"
- "release/**"
jobs:
setup:
name: setup
uses: ./.github/workflows/test-e2e-ubuntu-build.yml
secrets: inherit
e2e-electron:
name: e2e
needs: [setup]
uses: ./.github/workflows/test-e2e-ubuntu-run.yml
with:
grep: ""
project: "e2e-electron"
display_name: "electron"
currents_tags: "merge,electron/ubuntu"
install_undetectable_interpreters: false
install_license: false
upload_logs: false
shards: 2
matrix: '{"shard":[1,2]}'
workers: 2
allow_soft_fail: true
max_failures: 5 # 10 max failures / 2 shards = 5
secrets: inherit
e2e-windows:
name: e2e
uses: ./.github/workflows/test-e2e-windows-run.yml
secrets: inherit
with:
save_cache: true
grep: ""
project: "e2e-windows"
display_name: "windows"
currents_tags: "merge,electron/windows"
allow_soft_fail: true
upload_logs: false
shards: 3
matrix: '{"shard":[1,2,3]}'
max_failures: 3 # 10 max failures / 3 shards = 3.33, rounded down to 3
e2e-ubuntu-chromium:
name: e2e
needs: [setup]
uses: ./.github/workflows/test-e2e-ubuntu-run.yml
with:
grep: ""
display_name: "chromium"
project: "e2e-chromium"
currents_tags: "merge,chromium/ubuntu"
install_undetectable_interpreters: false
install_license: true
upload_logs: true
shards: 2
matrix: '{"shard":[1,2]}'
workers: 2
allow_soft_fail: true
max_failures: 5 # 10 max failures / 2 shards = 5
secrets: inherit
unit-tests:
name: test
uses: ./.github/workflows/test-unit.yml
secrets: inherit
with:
save_cache: true # Saves Ubuntu caches for subsequent runs
integration-tests:
name: test
uses: ./.github/workflows/test-integration.yml
secrets: inherit
with:
pull_request: false
slack-notify:
if: always()
needs:
[
setup,
unit-tests,
integration-tests,
e2e-electron,
e2e-windows,
e2e-ubuntu-chromium,
]
runs-on: ubuntu-latest
steps:
- name: Notify Slack
uses: midleman/slack-workflow-status@v3.1.3
with:
gh_repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.SLACK_TOKEN_TEST_STATUS }}
slack_channel: "#positron-test-results"
filter_jobs: "(e2e / ([^0-9]*)|unit|integration)$"
include_job_durations: false
notify_on: "failure"
slack-notify-win-extensions:
if: ${{ needs.e2e-windows-electron.outputs.extensions_failed == 'true' }}
needs:
- e2e-windows
runs-on: ubuntu-latest
steps:
- name: Notify Slack
uses: midleman/slack-workflow-status@v3.1.3
with:
gh_repo_token: ${{ secrets.GITHUB_TOKEN }}
slack_token: ${{ secrets.SLACK_TOKEN_TEST_STATUS }}
slack_channel: "#positron-rstats-test-results"
filter_jobs: "windows"
notify_on: "always"