Support any type of id #259
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: 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 coverage run -m pytest | |
# When the repo becomes public: | |
# 1. Add the COVERALLS_REPO_TOKEN to GitHub secrets | |
# 2. Uncomment the lines below | |
# poetry run coveralls | |
env: | |
OPENAI_API_KEY: "sk-fake-test-key-123" | |
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} |