Use tox on GitLab too.
This commit is contained in:
parent
5ca9509fce
commit
042122465a
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
image: "robertdebock/github-action-molecule:4.0.6"
|
image: "robertdebock/github-action-molecule:4.0.8"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
|
|
@ -10,7 +10,8 @@ variables:
|
||||||
|
|
||||||
molecule:
|
molecule:
|
||||||
script:
|
script:
|
||||||
- image=${image} tag=${tag} molecule test
|
- if [ -f tox.ini ] ; then tox ; fi
|
||||||
|
- if [ ! -f tox.ini ; then molecule test ; fi
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_REF_NAME == "master"
|
- if: $CI_COMMIT_REF_NAME == "master"
|
||||||
retry: 1
|
retry: 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue