diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1900d5f9..5e92d488 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,9 +15,11 @@ jobs: test-latex: if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} name: LaTeX test - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: + os: [ubuntu-latest, windows-latest, macos-latest] config: ['luatex-1', 'luatex-2', 'pdftex-1', 'pdftex-2', 'doc'] steps: @@ -53,7 +55,7 @@ jobs: if: ${{ matrix.config == 'doc' }} run: l3build doc - - name: Test LaTeX package + - name: Run l3build if: ${{ matrix.config != 'doc' }} run: l3build check --config tests/latex/config-${{ matrix.config }} @@ -68,8 +70,12 @@ jobs: test-texlua: if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} - name: Lua test (texlua) - runs-on: ubuntu-latest + name: texlua on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] steps: - name: Checkout @@ -108,10 +114,12 @@ jobs: test-lua: if: ${{ !contains(github.event.head_commit.message, 'ci skip') }} - name: Lua Test - runs-on: ubuntu-latest + name: Lua ${{ matrix.luaVersion }} on ${{ startsWith(matrix.os, 'macos-') && 'macOS' || startsWith(matrix.os, 'windows-') && 'Windows' || 'Linux' }} + runs-on: ${{ matrix.os }} strategy: + fail-fast: false matrix: + os: [ubuntu-latest, windows-latest, macos-latest] luaVersion: ["5.3", "5.4"] steps: