Fix python dependency detection
Some checks failed
/ test (push) Failing after 36s
/ deploy (push) Has been skipped

This commit is contained in:
lagertonne 2024-11-11 21:36:02 +01:00
parent 33631f4f2d
commit 3346f8bd15

View file

@ -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