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.
14 lines
No EOL
281 B
YAML
14 lines
No EOL
281 B
YAML
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 |