Fakultas Ilmu Komputer UI

Skip to content
Snippets Groups Projects
Commit 8967b476 authored by Felix Tjahyadi's avatar Felix Tjahyadi Committed by Rafi Madani
Browse files

CI/CD fixing again#2

parent 44b93065
No related branches found
No related tags found
1 merge request!1Felix sm03 backend
...@@ -21,6 +21,12 @@ deploy-railway: ...@@ -21,6 +21,12 @@ deploy-railway:
# script: # script:
# - pip install -r requirements.txt # - pip install -r requirements.txt
# - python manage.py test # - python manage.py test
# test:
# stage: test
# image: python:3.9
# script:
# - pip install -r requirements.txt
# - python manage.py test
sonarqube-check: sonarqube-check:
stage: analyze stage: analyze
...@@ -35,7 +41,7 @@ sonarqube-check: ...@@ -35,7 +41,7 @@ sonarqube-check:
paths: paths:
- .sonar/cache - .sonar/cache
script: script:
- sonar-scanner -Dsonar.projectKey=eldira.lahanny_a4-logistik_AY3a82YUk9qxTTGJIC4V -Dsonar.host.url=https://sonarqube.cs.ui.ac.id -Dsonar.login=$SONAR_TOKEN -Dsonar.sources=. -Dsonar.exclusions=**/tests.py -Dsonar.tests=. -Dsonar.test.inclusions=**/tests.py -Dsonar.qualitygate.wait=true - sonar-scanner -Dsonar.projectKey=eldira.lahanny_a4-logistik_AY3a82YUk9qxTTGJIC4V -Dsonar.sources=. -Dsonar.host.url=https://sonarqube.cs.ui.ac.id -Dsonar.login=$SONAR_TOKEN-Dsonar.tests=. -Dsonar.coverage.exclusions=**/tests.py -Dsonar.qualitygate.wait=true
allow_failure: true allow_failure: true
rules: rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment