Skip to content

Commit

Permalink
Add github actions ci
Browse files Browse the repository at this point in the history
  • Loading branch information
n2o committed Aug 22, 2024
1 parent 20ff1ab commit 2923e6c
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Django
on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: "poetry"
- name: Install dependencies
run: |
pip install poetry
poetry install
- name: Test
run: poetry run python manage.py test

0 comments on commit 2923e6c

Please sign in to comment.