Skip to content

Commit 15a56ed

Browse files
committed
Actions: Disable EE tests on MV2
Chrome really does not like them, so all integration tests must run on MV3 only
1 parent 15d47ba commit 15a56ed

File tree

1 file changed

+16
-19
lines changed

1 file changed

+16
-19
lines changed

.github/workflows/node.js.yml

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -105,21 +105,6 @@ jobs:
105105
YT_API_KEY: ${{ secrets.YOUTUBE_KEY }}
106106
NEBULA_PASS: ${{ secrets.NEBULA_PASS }}
107107
NEBULA_USER: ${{ secrets.NEBULA_USER }}
108-
109-
- name: Clear jest cache
110-
run: npx jest --clear-cache
111-
- name: Run tests on beta
112-
run: xvfb-run --auto-servernum npm run test:ee -- --ci --passWithNoTests
113-
continue-on-error: ${{ github.event_name != 'schedule' }}
114-
id: betatest
115-
env:
116-
YT_API_KEY: ${{ secrets.YOUTUBE_KEY }}
117-
NEBULA_PASS: ${{ secrets.NEBULA_PASS }}
118-
NEBULA_USER: ${{ secrets.NEBULA_USER }}
119-
NEBULA_BASE: https://beta.nebula.tv
120-
- name: Emit warning if beta test failed
121-
if: ${{ steps.betatest.outcome == 'failure' }}
122-
run: echo "::warning::Beta tests failed"
123108

124109
test_v3:
125110
name: Test V3
@@ -154,18 +139,30 @@ jobs:
154139
path: |
155140
extension-dist/
156141
157-
# for headfull chrome
158-
- name: Install xvfb
159-
run: sudo apt-get install xvfb
160142
- name: Clear jest cache
161143
run: npx jest --clear-cache
162144
- name: Run all tests
163-
run: xvfb-run --auto-servernum npm run test -- --ci
145+
run: xvfb-run --auto-servernum npm run test:unit -- --ci
164146
env:
165147
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
166148
YT_API_KEY: ${{ secrets.YOUTUBE_KEY }}
167149
NEBULA_PASS: ${{ secrets.NEBULA_PASS }}
168150
NEBULA_USER: ${{ secrets.NEBULA_USER }}
151+
152+
- name: Clear jest cache
153+
run: npx jest --clear-cache
154+
- name: Run tests on beta
155+
run: xvfb-run --auto-servernum npm run test:ee -- --ci --passWithNoTests
156+
continue-on-error: ${{ github.event_name != 'schedule' }}
157+
id: betatest
158+
env:
159+
YT_API_KEY: ${{ secrets.YOUTUBE_KEY }}
160+
NEBULA_PASS: ${{ secrets.NEBULA_PASS }}
161+
NEBULA_USER: ${{ secrets.NEBULA_USER }}
162+
NEBULA_BASE: https://beta.nebula.tv
163+
- name: Emit warning if beta test failed
164+
if: ${{ steps.betatest.outcome == 'failure' }}
165+
run: echo "::warning::Beta tests failed"
169166

170167
release:
171168
name: Release

0 commit comments

Comments
 (0)