Runner8
This commit is contained in:
parent
d2c9910b5a
commit
2ced0f6c43
11
.github/workflows/build-python-app.yml
vendored
11
.github/workflows/build-python-app.yml
vendored
@ -25,19 +25,14 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
# Optional: install runtime dependencies if requirements.txt exists
|
||||
- name: Install runtime dependencies
|
||||
if: ${{ hashFiles(format('apps/{0}/requirements.txt', inputs.app)) != '' }}
|
||||
run: |
|
||||
cd apps/${{ inputs.app }}
|
||||
pip install -r requirements.txt
|
||||
|
||||
# Install test dependencies (pytest, asyncio test libs, etc.)
|
||||
- name: Install test dependencies
|
||||
if: ${{ exists(format('apps/{0}/requirements-test.txt', inputs.app)) }}
|
||||
run: |
|
||||
cd apps/${{ inputs.app }}
|
||||
if [ -f requirements-test.txt ]; then
|
||||
pip install -r requirements-test.txt
|
||||
fi
|
||||
|
||||
|
||||
# Run Python tests
|
||||
- name: Run Python tests
|
||||
|
||||
Loading…
Reference in New Issue
Block a user