Skip to content

also adding mongo

also adding mongo #219

Workflow file for this run

name: Test
on: [push]
env:
VITE_SESSION_SECRET: ${{ secrets.VITE_SESSION_SECRET }}
DUCKDB_POOL_SIZE: 5
jobs:
Pytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: 4.4
- name: Install dependencies
working-directory: api
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
working-directory: api
run: pytest test.py