Skip to content

Re-activate pytests

Re-activate pytests #9

Workflow file for this run

name: Integration Testing
on:
workflow_dispatch: # triggered manually via the GitHub UI
pull_request: # triggered when a PR is created or updated
types:
- opened
- reopened
- synchronize
- ready_for_review
paths: # only trigger on changes in specific directories
- '.github/**/*.yaml'
- 'backend/**'
- 'docker/**'
- 'backend/poetry.lock'
- 'backend/pyproject.toml'
env:
PYTHON_VERSION: '3.10'
jobs:
integration-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Azurite
run: |
npm install -g azurite
mkdir azurite
azurite --silent --location azurite --debug azurite\debug.log &
- name: Install dependencies
working-directory: backend
run: |
pip install poetry
poetry install --with test
- name: Run integration tests
working-directory: backend
run: |
pwd
pip list
pytest src/tests/test_integration.py