From 0f231bcd9fc2a3e77a7f45bac22f37466362e571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20I=C3=9Fbr=C3=BCcker?= Date: Sat, 2 Jan 2021 11:50:16 +0100 Subject: [PATCH] Setup CI for tests --- .github/workflows/main.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..98c3eb1 --- /dev/null +++ b/.github/workflows/main.yaml @@ -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