* 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
|
- name: Run image
|
||||||
uses: abatilo/actions-poetry@v2.0.0
|
uses: abatilo/actions-poetry@v2.0.0
|
||||||
with:
|
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
|
- name: Install dependencies
|
||||||
run: poetry install
|
run: poetry install
|
||||||
|
|
||||||
- name: Django Testing project
|
- name: Django Testing project
|
||||||
run: |
|
run: |
|
||||||
cp TEMPLATE.env .env
|
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
|
# Install Python dependencies
|
||||||
RUN poetry config virtualenvs.create false && \
|
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
|
poetry install --no-dev --no-interaction --no-ansi
|
||||||
|
|
||||||
# Cleanup dependencies & setup user group
|
# Cleanup dependencies & setup user group
|
||||||
|
Loading…
Reference in New Issue
Block a user