Skip to content

Commit 5a358eb

Browse files
committed
Better expression logic
1 parent 98c9e7b commit 5a358eb

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/complement_tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ permissions:
1616
# `actions/checkout` read the repository (also see
1717
# https://github.com/actions/checkout/tree/de0fac2e4500dabe0009e67214ff5f5447ce83dd/#recommended-permissions)
1818
contents: read
19+
1920
env:
2021
RUST_VERSION: 1.87.0
2122

@@ -92,8 +93,8 @@ jobs:
9293
env:
9394
POSTGRES: ${{ (matrix.database == 'Postgres') && 1 || '' }}
9495
WORKERS: ${{ (matrix.arrangement == 'workers') && 1 || '' }}
95-
TEST_ONLY_IGNORE_POETRY_LOCKFILE: ${{ inputs.use_latest_deps }}
96-
TEST_ONLY_SKIP_DEP_HASH_VERIFICATION: ${{ inputs.use_twisted_trunk }}
96+
TEST_ONLY_IGNORE_POETRY_LOCKFILE: ${{ inputs.use_latest_deps && 1 || '' }}
97+
TEST_ONLY_SKIP_DEP_HASH_VERIFICATION: ${{ inputs.use_twisted_trunk && 1 || '' }}
9798

9899
- name: Formatted Complement test logs
99100
# Always run this step if we attempted to run the Complement tests.
@@ -117,6 +118,8 @@ jobs:
117118
env:
118119
POSTGRES: ${{ (matrix.database == 'Postgres') && 1 || '' }}
119120
WORKERS: ${{ (matrix.arrangement == 'workers') && 1 || '' }}
121+
TEST_ONLY_IGNORE_POETRY_LOCKFILE: ${{ inputs.use_latest_deps && 1 || '' }}
122+
TEST_ONLY_SKIP_DEP_HASH_VERIFICATION: ${{ inputs.use_twisted_trunk && 1 || '' }}
120123

121124
- name: Formatted in-repo Complement test logs
122125
# Always run this step if we attempted to run the Complement tests.

0 commit comments

Comments
 (0)