Skip to content

Commit

Permalink
fix: replace poetry add with pip install in docs GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cakeinsauce committed Mar 30, 2023
1 parent 50d833d commit 4e84915
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 30 deletions.
58 changes: 29 additions & 29 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root --without dev
poetry add --editable ../lib/filter_lib
poetry add --editable ../lib/tenants
poetry add --editable ../lib/badgerdoc_cli
pip install -e ../lib/filter_lib
pip install -e ../lib/tenants
pip install -e ../lib/badgerdoc_cli
- name: Generate documentation
working-directory: ./annotation
run: poetry run badgerdoc openapi .$SPEC_PATH
Expand Down Expand Up @@ -57,9 +57,9 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root --without dev
poetry add --editable ../lib/filter_lib
poetry add --editable ../lib/tenants
poetry add --editable ../lib/badgerdoc_cli
pip install -e ../lib/filter_lib
pip install -e ../lib/tenants
pip install -e ../lib/badgerdoc_cli
- name: Generate documentation
working-directory: ./assets
run: poetry run badgerdoc openapi .$SPEC_PATH
Expand Down Expand Up @@ -89,8 +89,8 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root --without dev
poetry add --editable ../lib/tenants
poetry add --editable ../lib/badgerdoc_cli
pip install -e ../lib/tenants
pip install -e ../lib/badgerdoc_cli
- name: Generate documentation
working-directory: ./convert
run: poetry run badgerdoc openapi .$SPEC_PATH
Expand Down Expand Up @@ -120,9 +120,9 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root --without dev
poetry add --editable ../lib/filter_lib
poetry add --editable ../lib/tenants
poetry add --editable ../lib/badgerdoc_cli
pip install -e ../lib/filter_lib
pip install -e ../lib/tenants
pip install -e ../lib/badgerdoc_cli
- name: Generate documentation
working-directory: ./jobs
run: poetry run badgerdoc openapi .$SPEC_PATH
Expand Down Expand Up @@ -152,9 +152,9 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root --without dev
poetry add --editable ../lib/filter_lib
poetry add --editable ../lib/tenants
poetry add --editable ../lib/badgerdoc_cli
pip install -e ../lib/filter_lib
pip install -e ../lib/tenants
pip install -e ../lib/badgerdoc_cli
- name: Generate documentation
working-directory: ./models
run: poetry run badgerdoc openapi .$SPEC_PATH
Expand Down Expand Up @@ -184,9 +184,9 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root --without dev
poetry add --editable ../lib/filter_lib
poetry add --editable ../lib/tenants
poetry add --editable ../lib/badgerdoc_cli
pip install -e ../lib/filter_lib
pip install -e ../lib/tenants
pip install -e ../lib/badgerdoc_cli
- name: Generate documentation
working-directory: ./pipelines
run: poetry run badgerdoc openapi .$SPEC_PATH
Expand Down Expand Up @@ -216,8 +216,8 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root --without dev
poetry add --editable ../lib/tenants
poetry add --editable ../lib/badgerdoc_cli
pip install -e ../lib/tenants
pip install -e ../lib/badgerdoc_cli
- name: Generate documentation
working-directory: ./processing
run: poetry run badgerdoc openapi .$SPEC_PATH
Expand Down Expand Up @@ -247,8 +247,8 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root --without dev
poetry add --editable ../lib/tenants
poetry add --editable ../lib/badgerdoc_cli
pip install -e ../lib/tenants
pip install -e ../lib/badgerdoc_cli
- name: Generate documentation
working-directory: ./scheduler
run: poetry run badgerdoc openapi .$SPEC_PATH
Expand Down Expand Up @@ -278,9 +278,9 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root --without dev
poetry add --editable ../lib/filter_lib
poetry add --editable ../lib/tenants
poetry add --editable ../lib/badgerdoc_cli
pip install -e ../lib/filter_lib
pip install -e ../lib/tenants
pip install -e ../lib/badgerdoc_cli
- name: Generate documentation
working-directory: ./search
run: poetry run badgerdoc openapi .$SPEC_PATH
Expand Down Expand Up @@ -310,9 +310,9 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root --without dev
poetry add --editable ../lib/filter_lib
poetry add --editable ../lib/tenants
poetry add --editable ../lib/badgerdoc_cli
pip install -e ../lib/filter_lib
pip install -e ../lib/tenants
pip install -e ../lib/badgerdoc_cli
- name: Generate documentation
working-directory: ./taxonomy
run: poetry run badgerdoc openapi .$SPEC_PATH
Expand Down Expand Up @@ -342,8 +342,8 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
poetry install --no-root --without dev
poetry add --editable ../lib/tenants
poetry add --editable ../lib/badgerdoc_cli
pip install -e ../lib/tenants
pip install -e ../lib/badgerdoc_cli
- name: Generate documentation
working-directory: ./users
run: poetry run badgerdoc openapi .$SPEC_PATH
Expand Down
56 changes: 55 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,56 @@
build_dir/
.env
.env
# Editors
.vscode/
.idea/

# Mac/OSX
.DS_Store

# Windows
Thumbs.db

# Source for the following rules: https://raw.githubusercontent.com/github/gitignore/master/Python.gitignore
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
dist/
eggs/
.eggs/
#lib/
lib64/
sdist/
var/
wheels/
*.egg-info/
*.egg

# Unit test / coverage reports
htmlcov/
.coverage
.coverage.*
.cache
coverage.xml
*.cover
.pytest_cache/

# Environments
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

0 comments on commit 4e84915

Please sign in to comment.