From 33b05727d76c7c1e261cf70af02bd7be2e0fb894 Mon Sep 17 00:00:00 2001 From: Nika Salamadze Date: Tue, 1 Aug 2023 16:06:11 -0400 Subject: [PATCH] chore: update tests GH action --- .github/workflows/runTests.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/runTests.yml b/.github/workflows/runTests.yml index 268e3e0..1c414a1 100644 --- a/.github/workflows/runTests.yml +++ b/.github/workflows/runTests.yml @@ -12,18 +12,26 @@ on: jobs: test: name: Test - runs-on: windows-latest + runs-on: ubuntu-latest env: DISPLAY: ':99.0' steps: + - bash: | + /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & + echo ">>> Started xvfb" + displayName: Start xvfb + condition: and(succeeded(), eq(variables['Agent.OS'], 'Linux')) - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '16.x' cache: 'yarn' + - name: Install dependencies run: yarn --immutable && yarn install + - name: Lint Project run: yarn lint + - name: Test Project run: yarn test