From f34257db00cf410f298ef0a50c88e2fb20b90a7d Mon Sep 17 00:00:00 2001 From: Jordi Loyzaga Date: Sat, 27 Apr 2024 03:24:22 -0600 Subject: [PATCH] retesting CI --- .drone.yml | 3 +-- scripts/CI/lint.sh | 1 + scripts/CI/setup.sh | 1 + scripts/CI/test.sh | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 696ad8c..783ff6d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,12 +11,11 @@ pipeline: - ./scripts/CI/setup.sh - ./scripts/CI/test.sh - static analysis: + lint: image: python group: test commands: - pip install -r requirements_test.txt - - ./scripts/CI/setup.sh - ./scripts/CI/lint.sh settings: diff --git a/scripts/CI/lint.sh b/scripts/CI/lint.sh index 36dd2cf..4a64eb2 100755 --- a/scripts/CI/lint.sh +++ b/scripts/CI/lint.sh @@ -1,2 +1,3 @@ cd lockbox +echo "Starting ruff check...\n\n\n" ruff check --config=./pyproject.toml \ No newline at end of file diff --git a/scripts/CI/setup.sh b/scripts/CI/setup.sh index a9bfd8d..0e6178d 100755 --- a/scripts/CI/setup.sh +++ b/scripts/CI/setup.sh @@ -1,2 +1,3 @@ cd lockbox +echo "Starting setup...\n\n\n" python manage.py migrate \ No newline at end of file diff --git a/scripts/CI/test.sh b/scripts/CI/test.sh index e42fe9e..2d17696 100755 --- a/scripts/CI/test.sh +++ b/scripts/CI/test.sh @@ -1,2 +1,3 @@ cd lockbox +printf "Starting pytest run...\n\n\n" pytest --cov=. --cov-report term-missing --reuse-db \ No newline at end of file