Implement manager worker architecture #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run unit tests | |
on: | |
pull_request: | |
branches: | |
- main | |
- stable | |
jobs: | |
test: | |
runs-on: self-hosted | |
container: python:3.9 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
- name: Install dependencies | |
run: poetry install | |
- name: Run unit tests | |
run: | | |
cd backend | |
poetry run python manage.py test | |