SKALE-2835 ignore tests on branches

parent 2ab18f51
......@@ -30,8 +30,11 @@ jobs:
- name: build container for testing
run: python3 scripts/docker_build.py DockerfileSimulation sgxwalletsim ${GITHUB_SHA}
- name: test
if: (contains(github.ref, 'develop') == false && contains(github.ref, 'beta') == false && contains(github.ref, 'master') == false && contains(github.ref, 'stable') == false
run: python3 scripts/docker_test.py DockerfileSimulation sgxwalletsim
with:
cond: (contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
if_true: "skip tests"
if_false:
run: python3 scripts/docker_test.py DockerfileSimulation sgxwalletsim
- name: deploy docker image
if: contains(github.ref, 'develop') || contains(github.ref, 'beta') || contains(github.ref, 'master') || contains(github.ref, 'stable')
run : |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment