From df9f174864640de193b2b85f04d0c3e8aee7d22c Mon Sep 17 00:00:00 2001 From: Nok Lam Chan Date: Wed, 25 Oct 2023 12:20:12 +0100 Subject: [PATCH] Change the order of CI, run windows test before ubuntu (#3224) * Change the order of CI, run windows test before ubuntu Signed-off-by: Nok * try to optimise job Signed-off-by: Nok --------- Signed-off-by: Nok --- .github/workflows/all-checks.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/all-checks.yml b/.github/workflows/all-checks.yml index f4be860c49..f63de1fbbc 100644 --- a/.github/workflows/all-checks.yml +++ b/.github/workflows/all-checks.yml @@ -25,40 +25,40 @@ jobs: unit-tests: strategy: matrix: - os: [ ubuntu-latest, windows-latest ] + os: [ windows-latest, ubuntu-latest ] python-version: [ "3.8", "3.9", "3.10", "3.11" ] uses: ./.github/workflows/unit-tests.yml with: os: ${{ matrix.os }} python-version: ${{ matrix.python-version }} branch: ${{ inputs.branch }} - - lint: + e2e-tests: strategy: matrix: - os: [ ubuntu-latest ] - python-version: [ "3.11" ] - uses: ./.github/workflows/lint.yml + os: [ windows-latest, ubuntu-latest ] + python-version: [ "3.8", "3.9", "3.10", "3.11" ] + uses: ./.github/workflows/e2e-tests.yml with: os: ${{ matrix.os }} python-version: ${{ matrix.python-version }} branch: ${{ inputs.branch }} - e2e-tests: + lint: strategy: matrix: - os: [ ubuntu-latest, windows-latest ] - python-version: [ "3.8", "3.9", "3.10", "3.11" ] - uses: ./.github/workflows/e2e-tests.yml + os: [ ubuntu-latest ] + python-version: [ "3.11" ] + uses: ./.github/workflows/lint.yml with: os: ${{ matrix.os }} python-version: ${{ matrix.python-version }} branch: ${{ inputs.branch }} + pip-compile: strategy: matrix: - os: [ ubuntu-latest, windows-latest ] + os: [ windows-latest, ubuntu-latest ] python-version: [ "3.8", "3.9", "3.10", "3.11" ] uses: ./.github/workflows/pip-compile.yml with: