fix: update root CI workflow with working-directory
Some checks failed
CI / test (push) Failing after 4m59s
Some checks failed
CI / test (push) Failing after 4m59s
This commit is contained in:
@@ -9,11 +9,25 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: app
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- run: pip install -e ".[dev]"
|
cache: 'pip'
|
||||||
- run: pytest tests/ -v
|
|
||||||
- run: ruff check .
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
python -m pip install --upgrade pip
|
||||||
|
pip install -e ".[dev]"
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: pytest tests/ -v --tb=short
|
||||||
|
|
||||||
|
- name: Check code formatting
|
||||||
|
run: ruff check env_pro/
|
||||||
|
|||||||
Reference in New Issue
Block a user