Skip to content

Jules was unable to complete the task in time. Please review the work done so far and provide feedback for Jules to continue. #2

Jules was unable to complete the task in time. Please review the work done so far and provide feedback for Jules to continue.

Jules was unable to complete the task in time. Please review the work done so far and provide feedback for Jules to continue. #2

Workflow file for this run

name: Backend Tests
on:
push:
branches: [ main ]
paths:
- 'backend/**'
- '.github/workflows/backend-tests.yml'
pull_request:
branches: [ main, feature/auth-service-workflow]
paths:
- 'backend/**'
- '.github/workflows/backend-tests.yml'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9'] # You can specify other versions or a single one
defaults:
run:
working-directory: ./backend # Set working directory for all run steps
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# pytest is already in requirements.txt
- name: Run tests with pytest
env:
PYTHONPATH: . # Add current directory (backend/) to PYTHONPATH
run: |
pytest # Pytest will discover tests in app/tests