From 13f7c60fab52181d33974e0068d50746659c7486 Mon Sep 17 00:00:00 2001
From: Agsha Athalla Nurkareem <agshaathalla@gmail.com>
Date: Wed, 19 Apr 2023 21:37:42 +0700
Subject: [PATCH] add pipeline

---
 .gitlab-ci.yml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 .gitlab-ci.yml

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..889a9ec
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,26 @@
+image: python:3.10
+
+before_script:
+  - python --version # For debugging
+  - pip install isort pylint pytest pyqt6 db-sqlite3 requests
+
+stages:
+  - linting
+  - test
+
+isort:
+  stage: linting
+  script:
+    - python -m isort . --check-only
+
+pylint:
+  stage: linting
+  script:
+    - python -m pylint src
+
+pytest:
+  stage: test
+  script:
+    - pytest
+  only:
+    - merge_request
-- 
GitLab