Skip to content

Commit 62b6ef9

Browse files
committed
fix pr trigger
1 parent ae02cdf commit 62b6ef9

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build-test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,14 @@ on:
1818
env:
1919
python_version: '3.11'
2020
java_version: '11' # needed by setup-openapi-generator.sh
21-
SKIP_TESTS: ${{ github.event_name == 'workflow_call' && inputs.SKIP_TESTS || false }}
2221

2322
jobs:
2423
build-test:
2524
runs-on: ubuntu-latest
2625
permissions: write-all
2726
name: Build & Test
27+
env:
28+
SKIP_TESTS: ${{ github.event_name == 'workflow_call' && inputs.SKIP_TESTS || false }}
2829
steps:
2930
- name: Checkout code
3031
uses: actions/checkout@v4
@@ -48,6 +49,7 @@ jobs:
4849
working-directory: ${{ github.workspace }}
4950

5051
- name: Run lint checks
52+
if: ${{ env.SKIP_TESTS != 'true' }}
5153
shell: bash
5254
run: |
5355
scripts/lint-tests.sh
@@ -85,13 +87,13 @@ jobs:
8587
scripts/api-operations-gen.sh
8688
8789
- name: Unit tests - API
88-
if: ${{ !env.SKIP_TESTS }}
90+
if: ${{ env.SKIP_TESTS != 'true' }}
8991
shell: bash
9092
run: |
9193
scripts/api-tests.sh --folder api --html_report
9294
9395
- name: Unit tests - Python Functions
94-
if: ${{ !env.SKIP_TESTS }}
96+
if: ${{ env.SKIP_TESTS != 'true' }}
9597
shell: bash
9698
run: |
9799
scripts/api-tests.sh --folder functions-python --html_report

0 commit comments

Comments
 (0)