1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-21 22:34:21 +00:00

🔨 Change poetry usage method

This commit is contained in:
Steffo 2021-11-21 05:07:26 +01:00
parent 6599e7283a
commit ce3526bf45
Signed by: steffo
GPG key ID: 6965406171929D01
2 changed files with 10 additions and 14 deletions

View file

@ -23,9 +23,8 @@ jobs:
- name: "Install backend dependencies"
working-directory: backend/
run: "poetry install --no-interaction"
- name: "Activate Python environment"
run: |
source $(poetry env list --full-path | cut -f1 -d" ")/bin/activate
- name: "Find Poetry Python environment"
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
- name: "Build HTML document with Sphinx"
uses: ammaraskar/sphinx-action@master
with:
@ -54,10 +53,9 @@ jobs:
poetry-version: 1.1.11
- name: "Install backend dependencies"
working-directory: backend/
run: "poetry install --no-interaction"
- name: "Activate Python environment"
run: |
source $(poetry env list --full-path | cut -f1 -d" ")/bin/activate
run: poetry install --no-interaction
- name: "Find Poetry Python environment"
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
- name: "Install Latex dependencies"
run: apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- name: "Build Latex document with Sphinx"

View file

@ -23,9 +23,8 @@ jobs:
- name: "Install backend dependencies"
working-directory: backend/
run: "poetry install --no-interaction"
- name: "Activate Python environment"
run: |
source $(poetry env list --full-path | cut -f1 -d" ")/bin/activate
- name: "Find Poetry Python environment"
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
- name: "Build HTML document with Sphinx"
uses: ammaraskar/sphinx-action@master
with:
@ -54,10 +53,9 @@ jobs:
poetry-version: 1.1.11
- name: "Install backend dependencies"
working-directory: backend/
run: "poetry install --no-interaction"
- name: "Activate Python environment"
run: |
source $(poetry env list --full-path | cut -f1 -d" ")/bin/activate
run: poetry install --no-interaction
- name: "Find Poetry Python environment"
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
- name: "Install Latex dependencies"
run: apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- name: "Build Latex document with Sphinx"