Setup CI for tests

This commit is contained in:
Sascha Ißbrücker 2021-01-02 11:50:16 +01:00
parent 9df270557f
commit 0f231bcd9f
1 changed files with 18 additions and 0 deletions

18
.github/workflows/main.yaml vendored Normal file
View File

@ -0,0 +1,18 @@
name: linkding CI
on: [push]
jobs:
run_tests:
name: Run Django Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run tests
run: python manage.py test