Skip to content

Commit e4d8853

Browse files
committed
fix boolean variable
1 parent 62b6ef9 commit e4d8853

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/build-test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424
runs-on: ubuntu-latest
2525
permissions: write-all
2626
name: Build & Test
27-
env:
28-
SKIP_TESTS: ${{ github.event_name == 'workflow_call' && inputs.SKIP_TESTS || false }}
2927
steps:
3028
- name: Checkout code
3129
uses: actions/checkout@v4
@@ -49,7 +47,7 @@ jobs:
4947
working-directory: ${{ github.workspace }}
5048

5149
- name: Run lint checks
52-
if: ${{ env.SKIP_TESTS != 'true' }}
50+
if: ${{ github.event_name == 'workflow_call' && inputs.SKIP_TESTS || false }}
5351
shell: bash
5452
run: |
5553
scripts/lint-tests.sh
@@ -87,13 +85,13 @@ jobs:
8785
scripts/api-operations-gen.sh
8886
8987
- name: Unit tests - API
90-
if: ${{ env.SKIP_TESTS != 'true' }}
88+
if: ${{ github.event_name == 'workflow_call' && inputs.SKIP_TESTS || false }}
9189
shell: bash
9290
run: |
9391
scripts/api-tests.sh --folder api --html_report
9492
9593
- name: Unit tests - Python Functions
96-
if: ${{ env.SKIP_TESTS != 'true' }}
94+
if: ${{ github.event_name == 'workflow_call' && inputs.SKIP_TESTS || false }}
9795
shell: bash
9896
run: |
9997
scripts/api-tests.sh --folder functions-python --html_report

0 commit comments

Comments
 (0)