29 lines
608 B
YAML
29 lines
608 B
YAML
name: Continous Integration
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
max-parallel: 4
|
|
matrix:
|
|
python-version: [3.8]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: Set up Python 3.8
|
|
uses: actions/setup-python@v1
|
|
with:
|
|
python-version: 3.8
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install -r requirements.txt
|
|
python3 manage.py collectstatic --noinput
|
|
python3 manage.py collectstatic_js_reverse
|
|
- name: Django Testing project
|
|
run: |
|
|
pytest
|