From 95e9db68c1c9f45d89524f4720629f94e0e25248 Mon Sep 17 00:00:00 2001
From: Scott Wallace <scott@wallace.sh>
Date: Wed, 29 Dec 2021 14:18:45 +0000
Subject: [PATCH] m0ar updates

---
 .gitlab-ci.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c63cabc..b9a63a4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,6 +13,9 @@
 #
 # For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages
 
+before_script:
+  - pip install -Ur requirements.txt
+
 stages: # List of stages for jobs, and their order of execution
   - test
   - build
@@ -25,7 +28,7 @@ build-job: # This job runs in the build stage, which runs first.
     - echo "Build complete."
 
 unit-test-job: # This job runs in the test stage.
-  stage: test # It only starts when the job in the build stage completes successfully.
+  stage: test
   script:
     - echo "Running unit tests..."
     - python3 -munittest discover
@@ -35,5 +38,5 @@ lint-test-job: # This job also runs in the test stage.
   stage: test # It can run at the same time as unit-test-job (in parallel).
   script:
     - echo "Linting code..."
-    - pylint .
+    - pylint -j0 -v $(git ls-files '*.py')
     - echo "No lint issues found."