Skip to content

Commit c90477d

Browse files
authored
Update rpe_test.yml to attempt to run E2E test on MacOS
1 parent 2e6b134 commit c90477d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/rpe_test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ jobs:
7979
python3 -m pip install -r requirements.txt
8080
npx playwright install --with-deps
8181
82+
- name: Run ESLint only on ubuntu-latest
83+
if: ${{ matrix.os == 'ubuntu-latest' }}
84+
run: npx eslint src/
85+
8286
- name: Unit Pytest Linux latest & windows & MacOS
8387
if: ${{ matrix.os != 'ubuntu-22.04' }}
8488
run: python3 -m pytest
@@ -87,14 +91,10 @@ jobs:
8791
if: ${{ matrix.os != 'ubuntu-22.04' }}
8892
run: npm test
8993

90-
- name: E2E Playwright tests
91-
if: ${{ matrix.os == 'ubuntu-latest' }}
94+
- name: E2E Playwright tests on Linux latest & MacOS
95+
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macos-12' }}
9296
run: npm run compile && xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- npx playwright test
9397

94-
- name: Run ESLint only on ubuntu-latest
95-
if: ${{ matrix.os == 'ubuntu-latest' }}
96-
run: npx eslint src/
97-
9898
- name: Install packages CentOS 7 & Run pytest & frontend test
9999
if: ${{ matrix.os == 'ubuntu-22.04' }}
100100
uses: addnab/docker-run-action@v3

0 commit comments

Comments
 (0)