File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,13 +26,19 @@ permissions:
2626
2727jobs :
2828 test :
29- name : Test
29+ name : ${{ matrix.os }} / ${{ matrix.browser }}
3030
3131 strategy :
3232 fail-fast : false
3333 matrix :
3434 node-version : [lts/*]
3535 os : [windows-latest, ubuntu-latest]
36+ browser : [firefox, chrome]
37+ include :
38+ - browser : firefox
39+ skip : --noChrome
40+ - browser : chrome
41+ skip : --noFirefox
3642
3743 runs-on : ${{ matrix.os }}
3844
@@ -71,11 +77,11 @@ jobs:
7177
7278 - name : Run integration tests (Windows)
7379 if : ${{ matrix.os == 'windows-latest' }}
74- run : npx gulp integrationtest
80+ run : npx gulp integrationtest ${{ matrix.skip }}
7581
7682 - name : Run integration tests (Linux)
7783 if : ${{ matrix.os == 'ubuntu-latest' }}
78- run : xvfb-run -a --server-args="-screen 0, 1920x1080x24" npx gulp integrationtest
84+ run : xvfb-run -a --server-args="-screen 0, 1920x1080x24" npx gulp integrationtest ${{ matrix.skip }}
7985
8086 - name : Save cached PDF files
8187 uses : actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
You can’t perform that action at this time.
0 commit comments