Skip to content

Feat: GitHub Action that runs tests #1

Feat: GitHub Action that runs tests

Feat: GitHub Action that runs tests #1

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Install python 3.11 with cache
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'poetry'
- name: Install dependencies with poetry
run: poetry install
- name: Run unit tests
run: poetry run python manage.py test