Added UI tests back into Github Actions scripts
This commit is contained in:
parent
80e8b2339d
commit
b9f2bddffc
8
.github/workflows/master.yml
vendored
8
.github/workflows/master.yml
vendored
@ -37,9 +37,11 @@ jobs:
|
||||
- name: Generate sitemap
|
||||
run: npx grunt exec:sitemap
|
||||
|
||||
# - name: UI Tests
|
||||
# if: success()
|
||||
# run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||
- name: UI Tests
|
||||
if: success()
|
||||
run: |
|
||||
sudo apt-get install xvfb
|
||||
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||
|
||||
- name: Prepare for GitHub Pages
|
||||
if: success()
|
||||
|
8
.github/workflows/pull_requests.yml
vendored
8
.github/workflows/pull_requests.yml
vendored
@ -33,6 +33,8 @@ jobs:
|
||||
if: success()
|
||||
run: npx grunt prod
|
||||
|
||||
# - name: UI Tests
|
||||
# if: success()
|
||||
# run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||
- name: UI Tests
|
||||
if: success()
|
||||
run: |
|
||||
sudo apt-get install xvfb
|
||||
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||
|
8
.github/workflows/releases.yml
vendored
8
.github/workflows/releases.yml
vendored
@ -34,9 +34,11 @@ jobs:
|
||||
if: success()
|
||||
run: npx grunt prod
|
||||
|
||||
# - name: UI Tests
|
||||
# if: success()
|
||||
# run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||
- name: UI Tests
|
||||
if: success()
|
||||
run: |
|
||||
sudo apt-get install xvfb
|
||||
xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
|
||||
|
||||
- name: Upload Release Assets
|
||||
if: success()
|
||||
|
Loading…
x
Reference in New Issue
Block a user