Skip to content

Commit

Permalink
Merge pull request #17 from NBISweden/dev/test-run
Browse files Browse the repository at this point in the history
feat: Run django tests
  • Loading branch information
jhagberg authored Sep 21, 2023
2 parents 5f35c0d + da911e9 commit 9bb4efc
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-22.04

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 9bb4efc

Please sign in to comment.