Skip to content

Commit

Permalink
Reorder matrix strategy.
Browse files Browse the repository at this point in the history
Is it possible to run windows jobs before ubuntu?

Signed-off-by: Pawel Gudel <[email protected]>
  • Loading branch information
pawel-gudel-eliatra committed Jun 27, 2023
1 parent 57b483e commit feb5587
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
run: |
echo "separateTestsNames=$(./gradlew listTasksAsJSON -q --console=plain | tail -n 1)" >> $GITHUB_OUTPUT
test:
citest:
name: citest
strategy:
fail-fast: false
matrix:
platform: ["windows-latest", "ubuntu-latest"]
jdk: [11, 17]
platform: ["ubuntu-latest", "windows-latest"]
runs-on: ${{ matrix.platform }}

steps:
Expand Down Expand Up @@ -69,8 +69,8 @@ jobs:
if: always()
run: echo "Check the artifact ${{ matrix.platform }}-JDK${{ matrix.jdk }}-reports for detailed test results"

build:
name: build
test:
name: test
needs: generate-test-list
strategy:
fail-fast: false
Expand Down

0 comments on commit feb5587

Please sign in to comment.