mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix matrix
This commit is contained in:
parent
910c2aa7bb
commit
890f195ba5
1 changed files with 7 additions and 6 deletions
13
.github/workflows/test-action.yml
vendored
13
.github/workflows/test-action.yml
vendored
|
@ -67,7 +67,7 @@ jobs:
|
|||
|
||||
test-linux:
|
||||
name: ${{ matrix.display_name }} ${{ matrix.tests-chunk }} ${{ matrix.transport }} ${{ matrix.fips && '--fips ' || '' }}
|
||||
if: ${{ fromJSON(inputs.matrix)['linux'] != '[]' }}
|
||||
if: ${{ fromJSON(inputs.matrix)['linux'] != '[ ]' }}
|
||||
runs-on:
|
||||
- ${{ matrix.arch == 'x86_64' && 'ubuntu-22.04' || 'linux-arm64' }}
|
||||
container:
|
||||
|
@ -77,7 +77,8 @@ jobs:
|
|||
timeout-minutes: ${{ fromJSON(inputs.testrun)['type'] == 'full' && inputs.default-timeout || 360 }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix: ${{ fromJSON(inputs.matrix)['linux'] }}
|
||||
matrix:
|
||||
include: ${{ fromJSON(inputs.matrix)['linux'] }}
|
||||
env:
|
||||
SALT_TRANSPORT: ${{ matrix.transport }}
|
||||
|
||||
|
@ -316,11 +317,12 @@ jobs:
|
|||
runs-on: ${{ matrix.runner }}
|
||||
# Full test runs. Each chunk should never take more than 2 hours.
|
||||
# Partial test runs(no chunk parallelization), 6 Hours
|
||||
if: ${{ fromJSON(inputs.matrix)['macos'] != '[]' }}
|
||||
if: ${{ fromJSON(inputs.matrix)['macos'] != '[ ]' }}
|
||||
timeout-minutes: ${{ fromJSON(inputs.testrun)['type'] == 'full' && inputs.default-timeout || 360 }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix: ${{ fromJSON(inputs.matrix)['macos'] }}
|
||||
matrix:
|
||||
include: ${{ fromJSON(inputs.matrix)['macos'] }}
|
||||
env:
|
||||
SALT_TRANSPORT: ${{ matrix.transport }}
|
||||
|
||||
|
@ -546,7 +548,7 @@ jobs:
|
|||
|
||||
test-windows:
|
||||
name: ${{ matrix.display_name }} ${{ matrix.tests-chunk }} ${{ matrix.transport }}
|
||||
if: ${{ fromJSON(inputs.matrix)['windows'] != '[]' }}
|
||||
if: ${{ fromJSON(inputs.matrix)['windows'] != '[ ]' }}
|
||||
runs-on: ${{ matrix.slug }}
|
||||
# Full test runs. Each chunk should never take more than 2 hours.
|
||||
# Partial test runs(no chunk parallelization), 6 Hours
|
||||
|
@ -556,7 +558,6 @@ jobs:
|
|||
matrix: ${{ fromJSON(inputs.matrix)['windows'] }}
|
||||
env:
|
||||
SALT_TRANSPORT: ${{ matrix.transport }}
|
||||
|
||||
steps:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue