Testing GitHub actions as CI

This commit is contained in:
vabene1111 2020-02-02 23:01:31 +01:00 committed by GitHub
parent e7227f84ca
commit 4080301dbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

26
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Continous Integration
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Django Testing project
run: |
python3 manage.py test