Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo930021 committed Jan 11, 2021
1 parent c6182d7 commit 798ceca
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,20 @@ jobs:
yarn --frozen-lockfile
yarn compile
- name: Start xvfb
if: matrix.os == 'ubuntu-latest'
run: |
set -e
/usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
disown -ar
echo "Started xvfb"
- name: Run unit tests
uses: GabrielBB/xvfb-action@v1.4
with:
run: yarn test

# - name: Start xvfb
# if: matrix.os == 'ubuntu-latest'
# run: |
# set -e
# /usr/bin/Xvfb :10 -ac >> /tmp/Xvfb.out 2>&1 &
# disown -ar
# echo "Started xvfb"

- name: Server and E2E test
run: yarn test
env:
DISPLAY: :10
# - name: Server and E2E test
# run: yarn test
# env:
# DISPLAY: :10

0 comments on commit 798ceca

Please sign in to comment.