Skip to content

Commit

Permalink
Add Django GA
Browse files Browse the repository at this point in the history
  • Loading branch information
pamella committed Jun 11, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 75378e3 commit 1212574
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Django CI (django-ai-assistant)

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
- name: Run tests
run: |
poetry run pytest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

0 comments on commit 1212574

Please sign in to comment.