fauxpilot/.github/workflows/python_backend_tests.yaml
2022-11-23 20:49:41 -05:00

23 lines
538 B
YAML

name: FauxPilot Python Backend Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/python_backend/requirements.txt
- name: Build container
run: |
cp tests/python_backend/runner.env .env &&
docker compose build &&
rm -f .env
- name: Run tests
run: pytest tests