Fix python dependency detection
This commit is contained in:
parent
33631f4f2d
commit
3346f8bd15
1 changed files with 2 additions and 3 deletions
|
@ -11,12 +11,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
|
working-directory: core
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
cache: 'pip'
|
cache: 'pip'
|
||||||
- name: Install needed python modules
|
cache-dependency-path: 'requirements.prod.txt'
|
||||||
working-directory: core
|
|
||||||
run: cd core && pip3 install -r requirements.prod.txt
|
|
||||||
- name: Run django tests
|
- name: Run django tests
|
||||||
working-directory: core
|
working-directory: core
|
||||||
run: python3 -m manage.py test
|
run: python3 -m manage.py test
|
||||||
|
|
Loading…
Reference in a new issue