-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from mathworks/nightly-insiders
test nightly on insiders version
- Loading branch information
Showing
4 changed files
with
54 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Run extension tests nightly on vscode insiders version | ||
|
||
name: test-nightly | ||
|
||
# Controls when the workflow will run | ||
on: | ||
schedule: | ||
- cron: "45 11 * * *" | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test-smoke: | ||
name: smoke-${{ matrix.version }}-${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: [R2021b, R2023a] | ||
os: [windows-latest, ubuntu-latest, macos-13] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- name: Set up MATLAB | ||
uses: matlab-actions/[email protected] | ||
with: | ||
release: ${{ matrix.version }} | ||
env: | ||
MATHWORKS_SKIP_ACTIVATION: true | ||
- name: Setup node | ||
uses: actions/[email protected] | ||
- name: npm clean install | ||
run: npm ci | ||
- name: Start Xvfb | ||
run: /usr/bin/Xvfb :17 -screen 0 1024x768x24 > /dev/null 2>&1 & echo "Started xvfb" | ||
shell: bash | ||
if: ${{ success() && matrix.os == 'ubuntu-latest' }} | ||
- name: Run tests | ||
run: npm run test-insiders | ||
env: | ||
MLM_WEB_LICENSE: true | ||
MLM_WEB_ID: ${{secrets.MLM_WEB_ID}} | ||
MLM_WEB_USER_CRED: ${{secrets.MLM_WEB_USER_CRED}} | ||
DISPLAY: ":17.0" |
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