Skip to content

Commit

Permalink
issue-619: Test suite is not fully executed on Windows (#809)
Browse files Browse the repository at this point in the history
Signed-off-by: Dominik Jelinek <[email protected]>
  • Loading branch information
djelinek authored Jun 7, 2023
1 parent 70f3ac4 commit 9d472b0
Show file tree
Hide file tree
Showing 51 changed files with 567 additions and 1,390 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/insiders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,17 @@ jobs:
node-version: 16
cache: npm

- name: Run Tests (windows)
if: ${{ contains(matrix.os, 'win') }}
- name: Run Tests (macOS, windows)
if: matrix.os != 'ubuntu-latest'
run: |
npm run test
- name: Run Tests (macOS)
if: ${{ contains(matrix.os, 'mac') }}
run: |
npm run ci-test
- name: Run Tests (linux)
if: ${{ contains(matrix.os, 'ubuntu') }}
if: matrix.os == 'ubuntu-latest'
run: |
xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' npm run ci-test
xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' npm run test
- name: Upload screenshots
- name: Upload Screenshots
uses: actions/upload-artifact@v3
if: failure()
with:
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,15 @@ jobs:
node-version: 16
cache: npm

- name: Run Tests (windows)
if: ${{ contains(matrix.os, 'win') }}
- name: Run Tests (macOS, windows)
if: matrix.os != 'ubuntu-latest'
run: |
npm run test
- name: Run Tests (macOS)
if: ${{ contains(matrix.os, 'mac') }}
run: |
npm run ci-test
- name: Run Tests (linux)
if: ${{ contains(matrix.os, 'ubuntu') }}
if: matrix.os == 'ubuntu-latest'
run: |
xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' npm run ci-test
xvfb-run --auto-servernum --server-args='-screen 0 1920x1080x24' npm run test
- name: Upload Screenshots
uses: actions/upload-artifact@v3
Expand Down
Loading

0 comments on commit 9d472b0

Please sign in to comment.