test: fix test
This commit is contained in:
1 parent
c4bbc10284
commit
186b2adae3
1 file changed
+3
-3
@@ -30,7 +30,7 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Install xvfb
|
- name: Install xvfb
|
||||||
if: runner.os == 'ubuntu-latest'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
apt install -y -q --no-install-recommends xvfb
|
apt install -y -q --no-install-recommends xvfb
|
||||||
|
|
||||||
@@ -56,11 +56,11 @@ jobs:
|
|||||||
run: npm i
|
run: npm i
|
||||||
|
|
||||||
- name: Test module script (Windows or macOS)
|
- name: Test module script (Windows or macOS)
|
||||||
if: runner.os != 'ubuntu-latest'
|
if: runner.os != 'Linux'
|
||||||
run: |
|
run: |
|
||||||
npm run test
|
npm run test
|
||||||
|
|
||||||
- name: Test module script (Linux)
|
- name: Test module script (Linux)
|
||||||
if: runner.os == 'ubuntu-latest'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
npm run test:linux
|
npm run test:linux
|
||||||
Reference in new issue
Block a user