Parcourir la source

Run pytest not python manage.py tests

Colin Powell il y a 1 an
Parent
commit
e70b494a66
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      .drone.yml

+ 1 - 1
.drone.yml

@@ -15,7 +15,7 @@ steps:
       - pip install poetry
       - poetry install
       # Start with a fresh database (which is already running as a service from Drone)
-      - poetry run python manage.py test
+      - poetry run pytest --cov-report term:skip-covered --cov=emus tests
     environment:
       EMUS_DATABASE_URL: sqlite:///test.db
     volumes: