From 9f41ba888c595289c40dbfe74ca93da345d65eb2 Mon Sep 17 00:00:00 2001
From: Joseph Walton-Rivers <joseph@webpigeon.me.uk>
Date: Sat, 23 May 2020 12:47:08 +0100
Subject: [PATCH] avoid the two steps running at the same.

This is me trying to figure out what's going on with the test failures :).
---
 .gitlab-ci.yml | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ccc7e8e..1a201a5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,18 +1,19 @@
 image: python:latest
 stages:
+  - validate
   - test
 
 before_script:
   - python -V
 
 check:
-  stage: test
+  stage: validate
   script:
-  - pip install flake8
-  - flake8 karma.py --max-line-length 120
+    - pip install flake8
+    - flake8 karma.py --max-line-length 120
 
-test:
+pytest:
   stage: test
   script:
-  - pip install errbot pytest
-  - pytest
+    - pip install errbot pytest
+    - pytest
-- 
GitLab