Skip to content

fix(server): cors

fix(server): cors #92

name: ML Build Check
on: [push]
jobs:
build:
strategy:
matrix:
python-version: ["3.11"]
poetry-version: ["1.5.1"]
defaults:
run:
working-directory: ml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: |
poetry install --no-root
- name: Run pytest
run: |
poetry run python -m pytest