From 79816737f9ead175209e0c620cf46fe41547e2e1 Mon Sep 17 00:00:00 2001 From: Doran Date: Thu, 12 Oct 2023 11:09:22 +0200 Subject: [PATCH] Use Xvfb for test-integration --- .github/workflows/tmp-fix-integration-test.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tmp-fix-integration-test.yml b/.github/workflows/tmp-fix-integration-test.yml index 39cee3bd..9687f5dd 100644 --- a/.github/workflows/tmp-fix-integration-test.yml +++ b/.github/workflows/tmp-fix-integration-test.yml @@ -17,11 +17,11 @@ jobs: id: files-cache with: path: | - node_modules dist - ~/.npm + node_modules + /tmp/.__tmp_int ~/.meteor - /tmp/tests/.__tmp_int + ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} - name: Install/Retrieve Meteor if: steps.files-cache.outputs.cache-hit != 'true' @@ -46,11 +46,14 @@ jobs: id: files-cache with: path: | - node_modules dist - ~/.npm + node_modules + /tmp/.__tmp_int ~/.meteor - /tmp/tests/.__tmp_int + ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} - run: ~/.meteor/meteor npm run prepare-integration-tests - - run: ~/.meteor/meteor npm run test-integration + - name: Run integration tests using Xvfb + uses: coactions/setup-xvfb@v1 + with: + run: ~/.meteor/meteor npm run test-integration