diff --git a/.github/workflows/backend-linting.yaml b/.github/workflows/backend-linting.yaml index e3a7c8e5..d145985d 100644 --- a/.github/workflows/backend-linting.yaml +++ b/.github/workflows/backend-linting.yaml @@ -9,7 +9,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@v4 - name: Set up Python 3.11 diff --git a/.github/workflows/backend-tests.yaml b/.github/workflows/backend-tests.yaml index 6131fa13..eaaa253d 100644 --- a/.github/workflows/backend-tests.yaml +++ b/.github/workflows/backend-tests.yaml @@ -9,7 +9,7 @@ on: jobs: test: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@v4 - name: Set up Python 3.11 @@ -21,5 +21,9 @@ jobs: python -m pip install --upgrade pip pip install flake8 pip install -r ./backend/requirements.txt + - name: Make migrations + run: | + python ./backend/manage.py makemigrations + python ./backend/manage.py migrate - name: Execute tests run: cd backend; python manage.py test