diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a7200b..b318411 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,40 +1,12 @@ image: python:3.11 stages: - - test - build - deploy variables: SECRET_KEY: "your-super-secret-key-123" -test-backend: - image: python:3.11 - stage: test - before_script: - - python -V - - python -m pip install --upgrade pip - - pip install pytest pytest-cov - - pip install -r backend/requirements.txt - script: - - cd backend - - python -m pytest -v tests/test_health.py - only: - - main - - Testing - -test-frontend: - image: node:18 - stage: test - before_script: - - cd frontend - - npm install - script: - - npm run test - only: - - main - - Testing - build-backend: stage: build image: docker:latest