Use tox on GitLab too.

This commit is contained in:
Robert de Bock 2022-08-04 06:55:32 +02:00
parent 5ca9509fce
commit 042122465a
1 changed files with 3 additions and 2 deletions

View File

@ -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