mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix empty list check
This commit is contained in:
parent
4145006721
commit
8c07ab9972
1 changed files with 3 additions and 3 deletions
6
.github/workflows/test-action.yml
vendored
6
.github/workflows/test-action.yml
vendored
|
@ -67,7 +67,7 @@ jobs:
|
|||
|
||||
test-linux:
|
||||
name: ${{ matrix.display_name }} ${{ matrix.tests-chunk }} ${{ matrix.transport }}
|
||||
if: ${{ fromJSON(inputs.matrix)['linux'] != [] }}
|
||||
if: ${{ fromJSON(inputs.matrix)['linux'] != '[]' }}
|
||||
runs-on:
|
||||
- ${{ matrix.arch == 'x86_64' && 'ubuntu-22.04' || 'linux-arm64' }}
|
||||
container:
|
||||
|
@ -317,7 +317,7 @@ 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
|
||||
|
@ -548,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
|
||||
|
|
Loading…
Add table
Reference in a new issue