mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 14:54:22 +00:00
🔨 Change poetry usage method
This commit is contained in:
parent
6599e7283a
commit
ce3526bf45
2 changed files with 10 additions and 14 deletions
12
.github/workflows/build-sphinx-report.yml
vendored
12
.github/workflows/build-sphinx-report.yml
vendored
|
@ -23,9 +23,8 @@ jobs:
|
||||||
- name: "Install backend dependencies"
|
- name: "Install backend dependencies"
|
||||||
working-directory: backend/
|
working-directory: backend/
|
||||||
run: "poetry install --no-interaction"
|
run: "poetry install --no-interaction"
|
||||||
- name: "Activate Python environment"
|
- name: "Find Poetry Python environment"
|
||||||
run: |
|
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
|
||||||
source $(poetry env list --full-path | cut -f1 -d" ")/bin/activate
|
|
||||||
- name: "Build HTML document with Sphinx"
|
- name: "Build HTML document with Sphinx"
|
||||||
uses: ammaraskar/sphinx-action@master
|
uses: ammaraskar/sphinx-action@master
|
||||||
with:
|
with:
|
||||||
|
@ -54,10 +53,9 @@ jobs:
|
||||||
poetry-version: 1.1.11
|
poetry-version: 1.1.11
|
||||||
- name: "Install backend dependencies"
|
- name: "Install backend dependencies"
|
||||||
working-directory: backend/
|
working-directory: backend/
|
||||||
run: "poetry install --no-interaction"
|
run: poetry install --no-interaction
|
||||||
- name: "Activate Python environment"
|
- name: "Find Poetry Python environment"
|
||||||
run: |
|
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
|
||||||
source $(poetry env list --full-path | cut -f1 -d" ")/bin/activate
|
|
||||||
- name: "Install Latex dependencies"
|
- name: "Install Latex dependencies"
|
||||||
run: apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
|
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"
|
- name: "Build Latex document with Sphinx"
|
||||||
|
|
12
.github/workflows/build-sphinx-thesis.yml
vendored
12
.github/workflows/build-sphinx-thesis.yml
vendored
|
@ -23,9 +23,8 @@ jobs:
|
||||||
- name: "Install backend dependencies"
|
- name: "Install backend dependencies"
|
||||||
working-directory: backend/
|
working-directory: backend/
|
||||||
run: "poetry install --no-interaction"
|
run: "poetry install --no-interaction"
|
||||||
- name: "Activate Python environment"
|
- name: "Find Poetry Python environment"
|
||||||
run: |
|
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
|
||||||
source $(poetry env list --full-path | cut -f1 -d" ")/bin/activate
|
|
||||||
- name: "Build HTML document with Sphinx"
|
- name: "Build HTML document with Sphinx"
|
||||||
uses: ammaraskar/sphinx-action@master
|
uses: ammaraskar/sphinx-action@master
|
||||||
with:
|
with:
|
||||||
|
@ -54,10 +53,9 @@ jobs:
|
||||||
poetry-version: 1.1.11
|
poetry-version: 1.1.11
|
||||||
- name: "Install backend dependencies"
|
- name: "Install backend dependencies"
|
||||||
working-directory: backend/
|
working-directory: backend/
|
||||||
run: "poetry install --no-interaction"
|
run: poetry install --no-interaction
|
||||||
- name: "Activate Python environment"
|
- name: "Find Poetry Python environment"
|
||||||
run: |
|
run: echo "pythonLocation=$(poetry env list --full-path | cut -f1 -d' ')/bin" >> $GITHUB_ENV
|
||||||
source $(poetry env list --full-path | cut -f1 -d" ")/bin/activate
|
|
||||||
- name: "Install Latex dependencies"
|
- name: "Install Latex dependencies"
|
||||||
run: apt-get update -y && apt-get install -y latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
|
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"
|
- name: "Build Latex document with Sphinx"
|
||||||
|
|
Loading…
Reference in a new issue