From 933b52c4a5c33d2ec5b8e0a92e557d00a01716d9 Mon Sep 17 00:00:00 2001
From: Ernesto Rico Schmidt <ernesto@helsinki.at>
Date: Wed, 15 May 2024 16:17:47 -0400
Subject: [PATCH] ci: run check-style first in check stage

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index da1b60cd..dda4db31 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,5 @@
 stages:
+  - check
   - test
   - build
   - deploy
@@ -33,7 +34,7 @@ build-openapi-scheme:
       - $OPENAPI_JSON
 
 check-style:
-  stage: test
+  stage: check
   image: python:3.11-slim
   before_script:
     # we do this, because YAML anchors are not supported when executing locally
-- 
GitLab