From 84e93181bc60c5f00bb44f599097c8d83e07f45e Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Mon, 4 Jul 2022 22:34:44 +0200 Subject: [PATCH] Use TOX on GitLab. --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d46e65f..7ca0a6b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ --- -image: "robertdebock/github-action-molecule:4.0.6" +image: "robertdebock/github-action-molecule:4.0.8" services: - docker:dind @@ -10,7 +10,8 @@ variables: molecule: script: - - image=${image} tag=${tag} molecule test + - if [ -f tox.ini ] ; then tox ; fi + - if [ ! -f tox.ini ; then molecule test ; fi rules: - if: $CI_COMMIT_REF_NAME == "master" retry: 1