From daf6a4faa7ce55bf906c386c34b3e005335d8af7 Mon Sep 17 00:00:00 2001 From: Dorian Turba <froggit.commit.z3jqj@simplelogin.com> Date: Mon, 28 Aug 2023 17:15:29 +0200 Subject: [PATCH] add matrix jobs --- .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9451895..961033e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,20 @@ pytest: - templates/python/testing/pytest/**/* - tests/pytest_project/**/* +tests: + stage: templates + variables: + PROJECT_PATH: "tests/$PROJECT_project" + parallel: + matrix: + - PROJECT: [flake8, black, isort, mypy, ruff] + only: + changes: + - .gitlab-ci.yml + - pyproject.toml + - templates/python/code_quality/$PROJECT/**/* + - tests/$PROJECT_project/**/* + flake8: stage: templates variables: -- GitLab