Add CI Pipeline and Skeleton for KrPano Tests
Introduced a GitLab CI configuration to automate the testing process, which includes the setup of a Python 3.11 environment, cloning the project repository, installing dependencies, and executing migrations and tests specifically for the KrPano module. Also added a barebones TestCase for KrPano without implementation to lay groundwork for future tests.
This commit is contained in:
parent
518a01052c
commit
e7a1e5a440
2 changed files with 20 additions and 0 deletions
14
.gitlab-ci.yml
Normal file
14
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
image: python:3.11
|
||||
|
||||
stages:
|
||||
- test
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- git clone https://kumig.it/kumisystems/pix360.git project
|
||||
- cd project
|
||||
- pip install -Ur requirements.txt
|
||||
- pip install ..
|
||||
- python manage.py migrate
|
||||
- python manage.py test pix360_krpano
|
6
src/pix360_krpano/tests.py
Normal file
6
src/pix360_krpano/tests.py
Normal file
|
@ -0,0 +1,6 @@
|
|||
from django.test import TestCase
|
||||
|
||||
SOURCE_URL = None
|
||||
|
||||
class TestKRPano(TestCase):
|
||||
pass
|
Loading…
Reference in a new issue