We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d82077 commit 194515aCopy full SHA for 194515a
.github/workflows/django.yml
@@ -0,0 +1,34 @@
1
+name: Django CI
2
+
3
+on:
4
+ push:
5
+ branches: [ "master" ]
6
7
+ pull_request:
8
9
10
+jobs:
11
+ build:
12
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - uses: actions/checkout@v3
17
+ - name: Set up Python 3.9
18
+ uses: actions/setup-python@v3
19
+ with:
20
+ python-version: 3.9
21
+ - name: Install Dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install -r requirements.txt
25
+ - name: Run migrations
26
27
+ python manage.py makemigrations
28
+ python manage.py migrate
29
+ - name: Lint with flake8
30
31
+ flake8
32
+ - name: Run Tests
33
34
+ python manage.py test
0 commit comments