-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (23 loc) · 733 Bytes
/
Copy pathpr.yml
File metadata and controls
30 lines (23 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Qualtiy Assurance
on: [pull_request]
jobs:
quality-assurance:
name: django-quality-assurance
runs-on: ubuntu-latest
container: python:3.13
#services not needed
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install poetry
uses: abatilo/actions-poetry@v2.0.0
with:
poetry-version: 2.2.1
- name: Install dependencies with Poetry
working-directory: backend
run: |
poetry config virtualenvs.in-project true
poetry install --no-interaction --no-ansi
- name: Run Django tests
working-directory: backend/django_backend/scheduling_backend
run: poetry run python manage.py test -v2