From 97082f253ae723c204e59f21fc8d1de44e7f7254 Mon Sep 17 00:00:00 2001 From: Georg Krause <mail@georg-krause.net> Date: Fri, 1 Apr 2022 11:12:24 +0200 Subject: [PATCH] Execute tests in CI --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4a2d4dc..24070e6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,18 @@ stages: - lint + - test lint: stage: lint image: python:3.10-alpine before_script: pip install black script: black --check . + +test: + stage: test + image: python:3.10-alpine + before_script: + - pip install poetry + - poetry install + script: + - poetry run python test/test.py -- GitLab