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

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