CI/CD working #3

Merged
kitty merged 13 commits from ci_test into develop 2024-04-27 09:56:21 +00:00
2 changed files with 8 additions and 4 deletions
Showing only changes of commit f5c56162cd - Show all commits

View File

@ -2,19 +2,23 @@ kind: pipeline
name: default
type: docker
pipeline:
unittest:
steps:
- name: unitest
image: python
commands:
- pip install -r requirements_test.txt
- ./scripts/drone/setup.sh
- ./scripts/drone/test.sh
depends_on:
- clone
lint:
- name: lint
image: python
commands:
- pip install -r requirements_test.txt
- ./scripts/drone/lint.sh
depends_on:
- clone
settings:
username:

View File

@ -7,8 +7,8 @@ from rest_framework import status
from rest_framework.decorators import action
from rest_framework.response import Response
from rest_framework.viewsets import ModelViewSet
from user.models import LockboxUser
# from user.models import LockboxUser
from storage.models import File, FileChunk
from storage.serializers import FileChunkSerializer, FileSerializer