Skip to content

Commit

Permalink
attempt 2/n at GH actions: remember to spawn poetry shell
Browse files Browse the repository at this point in the history
  • Loading branch information
aalok-sathe committed Nov 21, 2023
1 parent 92c6f92 commit 0f0fed2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
# install poetry
- run: sudo apt install curl
- run: curl -sSL https://install.python-poetry.org | python3 -
- run: poetry shell
- run: poetry install -E transformers -E kenlm --with docs
# ADJUST THIS: build your documentation into docs/.
# We use a custom build script for pdoc itself, ideally you just run `pdoc -o docs/ ...` here.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
python -m pip install --upgrade pip
sudo apt install curl
curl -sSL https://install.python-poetry.org | python -
poetry shell
poetry install # takes no arguments
pip install pylint
- name: Analysing the code with pylint
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
sudo apt install curl
python -m pip install --upgrade pip
curl -sSL https://install.python-poetry.org | python -
poetry shell
poetry install
pip install build
- name: Build package
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,6 @@ dmypy.json
.vscode/launch.json
notebooks
.vscode

html/
docs/

0 comments on commit 0f0fed2

Please sign in to comment.