* fix: PyYAML dependency install (check #183) * misc: update gh-actions (versions, and add temporary patch) * misc: revert to python 3.9
This commit is contained in:
parent
ef32c66769
commit
4d9a5fdaad
7
.github/workflows/run-tests.yml
vendored
7
.github/workflows/run-tests.yml
vendored
@ -27,11 +27,12 @@ jobs:
|
||||
- name: Run image
|
||||
uses: abatilo/actions-poetry@v2.0.0
|
||||
with:
|
||||
poetry-version: 1.1.6
|
||||
poetry-version: 1.2.2
|
||||
- name: Preinstall dependencies (temporary)
|
||||
run: poetry run pip install "Cython<3.0" "pyyaml==5.4.1" --no-build-isolation
|
||||
- name: Install dependencies
|
||||
run: poetry install
|
||||
|
||||
- name: Django Testing project
|
||||
run: |
|
||||
cp TEMPLATE.env .env
|
||||
poetry run ./shynet/manage.py test
|
||||
poetry run ./shynet/manage.py test
|
||||
|
@ -30,6 +30,7 @@ RUN apk add --no-cache postgresql-libs && \
|
||||
|
||||
# Install Python dependencies
|
||||
RUN poetry config virtualenvs.create false && \
|
||||
poetry run pip install "Cython<3.0" "pyyaml==5.4.1" --no-build-isolation && \
|
||||
poetry install --no-dev --no-interaction --no-ansi
|
||||
|
||||
# Cleanup dependencies & setup user group
|
||||
|
Loading…
Reference in New Issue
Block a user