Skip to content

fix cors

fix cors #227

Workflow file for this run

name: Run Python Tests
on:
push:
branches:
- main
paths:
- backend/**
pull_request:
# workflow_call:
workflow_dispatch:
jobs:
run-pytest-on-backend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
cache-dependency-path: "backend/requirements*.txt"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.dev.txt
pip install -r requirements.txt
- name: Test with pytest
run: |
python -m pytest challenges