-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into merge/1.93.0
- Loading branch information
Showing
25 changed files
with
710 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ permissions: | |
jobs: | ||
linux: | ||
name: Tests on Linux | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-latest-4x | ||
timeout-minutes: 60 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -111,8 +111,8 @@ jobs: | |
# Perform the main yarn command; this installs all Node packages and | ||
# dependencies | ||
yarn --immutable --network-timeout 120000 | ||
yarn --cwd test/automation add install --frozen-lockfile | ||
yarn --cwd test/smoke add install --frozen-lockfile | ||
yarn --cwd test/automation install --frozen-lockfile | ||
yarn --cwd test/smoke install --frozen-lockfile | ||
# Note cache-hit will be set to true only when cache hit occurs for the exact key match. | ||
# For a partial key match it will be set to false | ||
|
@@ -231,10 +231,17 @@ jobs: | |
name: run-artifacts | ||
path: .build/logs/smoke-tests-electron/ | ||
|
||
- name: slack-smoke-test-report | ||
if: failure() | ||
uses: testlabauto/[email protected] | ||
env: | ||
SLACK_CHANNEL: C07FR1JNZNJ #positron-test-results channel | ||
SLACK_TOKEN: ${{ secrets.SMOKE_TESTS_SLACK_TOKEN }} | ||
XUNIT_PATH: .build/logs/smoke-tests-electron/test-results/results.xml | ||
slack-notification: | ||
name: 'Send Slack notification' | ||
runs-on: ubuntu-latest | ||
needs: linux | ||
if: ${{ failure() }} | ||
steps: | ||
- name: 'Send Slack notification' | ||
uses: automattic/[email protected] | ||
with: | ||
github_token: ${{ secrets.POSITRON_GITHUB_PAT }} | ||
slack_token: ${{ secrets.SMOKE_TESTS_SLACK_TOKEN }} | ||
slack_channel: C07FR1JNZNJ #positron-test-results channel | ||
suite_name: Positron Full Test Suite | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ permissions: | |
jobs: | ||
linux: | ||
name: Tests on Linux | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-latest-4x | ||
timeout-minutes: 45 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -103,8 +103,8 @@ jobs: | |
ELECTRON_SKIP_BINARY_DOWNLOAD: 1 | ||
POSITRON_GITHUB_PAT: ${{ github.token }} | ||
run: | | ||
# Install Yarn | ||
npm install -g yarn | ||
# Enable corepack (for yarn) | ||
corepack enable | ||
# Install node-gyp; this is required by some packages, and yarn | ||
# sometimes fails to automatically install it. | ||
|
@@ -116,6 +116,7 @@ jobs: | |
yarn --cwd test/automation install --frozen-lockfile | ||
yarn --cwd test/smoke install --frozen-lockfile | ||
# Note cache-hit will be set to true only when cache hit occurs for the exact key match. | ||
# For a partial key match it will be set to false | ||
- name: Cache root node_modules | ||
|
@@ -207,11 +208,20 @@ jobs: | |
with: | ||
name: run-artifacts | ||
path: .build/logs/smoke-tests-electron/ | ||
outputs: | ||
target: ${{ env.SMOKETEST_TARGET }} | ||
|
||
slack-notification: | ||
name: 'Send Slack notification' | ||
runs-on: ubuntu-latest | ||
needs: linux | ||
if: ${{ failure() && needs.linux.outputs.target == 'smoketest-merge-to-main' }} | ||
steps: | ||
- name: 'Send Slack notification' | ||
uses: automattic/[email protected] | ||
with: | ||
github_token: ${{ secrets.POSITRON_GITHUB_PAT }} | ||
slack_token: ${{ secrets.SMOKE_TESTS_SLACK_TOKEN }} | ||
slack_channel: C07FR1JNZNJ #positron-test-results channel | ||
suite_name: Positron Merge to Main Test Suite | ||
|
||
- name: slack-smoke-test-report | ||
if: ${{ failure() && env.SMOKETEST_TARGET == 'smoketest-merge-to-main' }} | ||
uses: testlabauto/[email protected] | ||
env: | ||
SLACK_CHANNEL: C07FR1JNZNJ #positron-test-results channel | ||
SLACK_TOKEN: ${{ secrets.SMOKE_TESTS_SLACK_TOKEN }} | ||
XUNIT_PATH: .build/logs/smoke-tests-electron/test-results/results.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.