diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 513383b7d630bd9ca0b3173dd4996447f45c73ac..d0ab392f468cda687edca2d4b6bc7dedf569b18e 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