Skip to content

Commit 637176b

Browse files
pauldrucePrabhakar Kumar
authored andcommitted
Fixes E2E Tests and updates github action versions.
1 parent 54722e9 commit 637176b

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/run-e2e-tests.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
PYTHON_VERSION: 3.8
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

20-
- uses: actions/setup-node@v3
20+
- uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ env.NODE_VERSION }}
2323

2424
- name: Set up Python
25-
uses: actions/setup-python@v4
25+
uses: actions/setup-python@v5
2626
with:
2727
python-version: ${{ env.PYTHON_VERSION }}
2828

@@ -39,12 +39,10 @@ jobs:
3939

4040
- name: Set up MATLAB
4141
# Use MATLAB Actions to get running MATLAB in GitHub Actions
42-
uses: matlab-actions/setup-matlab@v2-beta
42+
uses: matlab-actions/setup-matlab@v2
4343
with:
4444
products: MATLAB Symbolic_Math_Toolbox
4545

46-
47-
4846
- name: Install jupyterlab and jupyter-matlab-proxy
4947
working-directory: ${{ github.workspace }}
5048
run: |
@@ -73,8 +71,8 @@ jobs:
7371
run: |
7472
python3 -m pip install --upgrade pip
7573
python3 -m pip install pytest-playwright
76-
python3 -m playwright install
77-
python3 -c "from tests.utils.licensing import *; license_with_online_licensing(log_dir=\"./licensing-logs\")"
74+
python3 -m playwright install --with-deps
75+
(cd tests/utils && mkdir licensing-logs && python3 -c "from licensing import *; license_with_online_licensing(log_dir=\"./licensing-logs\")")
7876
7977
- name: Run playwright tests
8078
env:
@@ -99,7 +97,7 @@ jobs:
9997
10098
- name: Preserve test results after the job has finished
10199
if: always()
102-
uses: actions/upload-artifact@v3
100+
uses: actions/upload-artifact@v4
103101
with:
104102
name: e2e_test_results
105103
path: ./tests/e2e/zipped-e2e-test-results.zip

0 commit comments

Comments
 (0)