From 2d11113c234dc12afbd3d011d1bec808db46e4f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <alan.munoz@ed.ac.uk> Date: Sat, 24 Sep 2022 18:04:14 +0100 Subject: [PATCH] ci(tests): allow failure for checks and rename all --- .gitlab-ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea768ce4..523bd494 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,8 +12,8 @@ variables: TRIGGER_PYPI_NAME: "" stages: - - test - - check + - tests + - checks # - release before_script: @@ -35,7 +35,7 @@ before_script: - poetry install -vv $ARGS Local Tests: - stage: test + stage: tests script: - poetry install -vv - poetry run pytest ./tests --ignore ./tests/aliby/network @@ -43,17 +43,19 @@ Local Tests: # TODO Split testing in four: Network vs non-network and Unit vs integration Network Tools Test: - stage: test + stage: tests script: - poetry run pytest ./tests/aliby/network Code Lint: - stage: check + stage: checks + allow_failure: true script: - poetry run black . + - poetry run isort . Static Type: - stage: check + stage: checks allow_failure: true script: - poetry run mypy . --exclude 'setup\.py$' -- GitLab