Skip to content

refactor: update test-python.yml #7

refactor: update test-python.yml

refactor: update test-python.yml #7

Workflow file for this run

name: Run Python Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
working-directory: ./app

Check failure on line 12 in .github/workflows/test-python.yml

View workflow run for this annotation

GitHub Actions / Run Python Tests

Invalid workflow file

The workflow is not valid. .github/workflows/test-python.yml (Line: 12, Col: 9): Unexpected value 'working-directory'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.12'
- name: Install dependencies
working-directory: ./app
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
working-directory: ./app
run: python ./src/run_tests.py