Skip to content

Update README.md

Update README.md #190

Workflow file for this run

name: API
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.11, 3.12]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
cd api
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
cd api
export SUPABASE_URL=${{ secrets.SUPABASE_URL }}
export SUPABASE_KEY=${{ secrets.SUPABASE_KEY }}
export IS_CI=1
echo "The Supabase URL is ${{ secrets.SUPABASE_URL }}"
python manage.py test