Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
vltansky committed Jul 11, 2024
1 parent ce850a4 commit 2743e99
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,19 @@ jobs:
name: List the state of node modules
continue-on-error: true
run: npm list
- name: Install node-canvas dependencies
- name: Install system dependencies
run: |
sudo apt update
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev libxt-dev libxi-dev libgl-dev libxext-dev
sudo apt install -y libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev librsvg2-dev libxt-dev libxi-dev mesa-utils libgl1-mesa-dev xvfb
- name: Start Xvfb
run: |
/usr/bin/Xvfb :99 -ac &
export DISPLAY=:99
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Unit tests
run: npm run test:unit
run: xvfb-run npm run test:unit
- name: E2e tests
run: npm run test:e2e
run: xvfb-run npm run test:e2e

0 comments on commit 2743e99

Please sign in to comment.