update test config (#430)
This commit is contained in:
22
.github/workflows/test-enjoy-app.yml
vendored
22
.github/workflows/test-enjoy-app.yml
vendored
@@ -39,14 +39,28 @@ jobs:
|
||||
brew update
|
||||
brew install sdl2
|
||||
|
||||
- name: Run tests with xvfb-run on Ubuntu
|
||||
- name: Package App
|
||||
run: yarn enjoy:package
|
||||
|
||||
- name: Run main tests with xvfb-run on Ubuntu
|
||||
if: contains(matrix.os, 'ubuntu')
|
||||
run: |
|
||||
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn enjoy:test
|
||||
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn enjoy:test:main
|
||||
|
||||
- name: Run tests on macOS or Windows
|
||||
- name: Run main tests on macOS or Windows
|
||||
if: contains(matrix.os, 'macos') || contains(matrix.os, 'windows')
|
||||
run: yarn enjoy:test
|
||||
run: yarn enjoy:test:main
|
||||
|
||||
- name: Run renderer tests with xvfb-run on Ubuntu
|
||||
if: contains(matrix.os, 'ubuntu')
|
||||
continue-on-error: true
|
||||
run: |
|
||||
xvfb-run --auto-servernum --server-args="-screen 0 1280x960x24" -- yarn enjoy:test:renderer
|
||||
|
||||
- name: Run renderer tests on macOS or Windows
|
||||
if: contains(matrix.os, 'macos') || contains(matrix.os, 'windows')
|
||||
continue-on-error: true
|
||||
run: yarn enjoy:test:renderer
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user