Skip to content

Update main.yml

Update main.yml #1050

Workflow file for this run

name: Unit Test Packages
on: [push]
jobs:
continuous-integration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10.10
uses: actions/setup-python@v4
with:
python-version: "3.10.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e "models[test]"
pip install -e "web[test]"
pip install -e "api[test]"
# - name: Load example .env file
# uses: xom9ikk/[email protected]
# with:
# path: ./
# mode: example # should load .env.example
# load-mode: strict # should fail if .env.example missing
# - name: Test with pytest
# working-directory: ./
# # Ideally we should not need all the environment variables to test.
# run: pytest