Skip to content

Commit

Permalink
Change the order of CI, run windows test before ubuntu (#3224)
Browse files Browse the repository at this point in the history
* Change the order of CI, run windows test before ubuntu

Signed-off-by: Nok <nok.lam.chan@quantumblack.com>

* try to optimise job

Signed-off-by: Nok <nok.lam.chan@quantumblack.com>

---------

Signed-off-by: Nok <nok.lam.chan@quantumblack.com>
  • Loading branch information
noklam authored Oct 25, 2023
1 parent 209d952 commit df9f174
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/all-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit df9f174

Please sign in to comment.