Skip to content

Commit

Permalink
feat: Run django tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonandernovella committed Sep 19, 2023
1 parent 7cbf8cb commit 7df337a
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/django-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Django Tests

on: [push, pull_request]

jobs:
django-tests:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10

- name: Install dependencies
run: |
pip install -r mimir-server/requirements.txt
working-directory: ${{ github.workspace }}

- name: Run Django Tests
run: |
python manage.py test
working-directory: ${{ github.workspace }}/mimir-server

0 comments on commit 7df337a

Please sign in to comment.