Skip to content

Commit 5be8907

Browse files
disable cache
1 parent c5c089f commit 5be8907

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ env:
2727
GOPRIVATE: github.com/stackql/*
2828
GH_ACCESS_TOKEN: ${{ secrets.ACTIONS_PRIVATE_PACKAGE_SECRET }}
2929
PLANCACHEENABLED: "true"
30+
CI_IS_EXPRESS: ${{ github.ref_type == 'tag' && contains(github.ref_name, 'express') && 'true' || 'false' }}
3031

3132
jobs:
3233

@@ -1213,13 +1214,13 @@ jobs:
12131214
echo ""
12141215
12151216
- name: Run robot mocked functional tests
1216-
if: success()
1217+
if: success() && env.CI_IS_EXPRESS != 'true'
12171218
timeout-minutes: ${{ vars.DEFAULT_STEP_TIMEOUT_MIN == '' && 20 || vars.DEFAULT_STEP_TIMEOUT_MIN }}
12181219
run: |
12191220
python cicd/python/build.py --robot-test --config='{ "variables": { "EXECUTION_PLATFORM": "docker" } }'
12201221
12211222
- name: Run POSTGRES BACKEND robot mocked functional tests
1222-
if: success()
1223+
if: success() && env.CI_IS_EXPRESS != 'true'
12231224
timeout-minutes: ${{ vars.DEFAULT_STEP_TIMEOUT_MIN == '' && 20 || vars.DEFAULT_STEP_TIMEOUT_MIN }}
12241225
run: |
12251226
echo "## Stray flask apps to be killed before robot tests ##"
@@ -1239,7 +1240,7 @@ jobs:
12391240
python cicd/python/build.py --robot-test --config='{ "variables": { "EXECUTION_PLATFORM": "docker", "SHOULD_RUN_DOCKER_EXTERNAL_TESTS": true, "SQL_BACKEND": "postgres_tcp" } }'
12401241
12411242
- name: Output from mocked functional tests
1242-
if: always()
1243+
if: always() && env.CI_IS_EXPRESS != 'true'
12431244
run: |
12441245
cat ./test/robot/reports/output.xml
12451246

0 commit comments

Comments
 (0)