File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818env :
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
2322jobs :
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
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
You can’t perform that action at this time.
0 commit comments