From c87ebf92b9baeede58ccce1e463453c1fefdc48e Mon Sep 17 00:00:00 2001 From: afnanramadhan <13521011@std.stei.itb.ac.id> Date: Sun, 28 Jul 2024 19:51:50 +0700 Subject: [PATCH] test afnan --- .gitlab-ci.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 513383b..d0ab392 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,16 @@ -image: python:3.10 +stages: + - test before_script: - - python --version # For debugging - - pip install pytest pyqt6 db-sqlite3 - -stages: - - Test + - pip install -r requirements.txt -pytest: - stage: Test +test_job: + stage: test + tags: + - macos + only: + - testCICD script: - - python -m pytest \ No newline at end of file + - echo "Running tests" + - python3 src/controller.py + - pytest \ No newline at end of file -- GitLab