Skip to content

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cmin764 committed Oct 10, 2023
1 parent 9ac0854 commit b8ce917
Show file tree
Hide file tree
Showing 9 changed files with 51 additions and 85 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/assistant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,10 @@ jobs:
python-version: ${{ matrix.python }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Lint
Expand Down Expand Up @@ -116,12 +114,10 @@ jobs:
python-version: '3.9'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Build and publish package
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,8 @@ jobs:
python-version: ${{ matrix.python }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Get python version
id: full-python-version
shell: bash
Expand All @@ -91,7 +89,7 @@ jobs:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Lint
Expand All @@ -115,12 +113,10 @@ jobs:
python-version: '3.9'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Build and publish package
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/dialogs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,10 @@ jobs:
python-version: ${{ matrix.python }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Lint
Expand Down Expand Up @@ -115,12 +113,10 @@ jobs:
python-version: '3.9'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Build and publish package
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
python-version: "3.9"
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Get python version
id: full-python-version
shell: bash
Expand All @@ -40,10 +40,8 @@ jobs:
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Build HTML documentation
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/google.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,8 @@ jobs:
python-version: ${{ matrix.python }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Get python version
id: full-python-version
shell: bash
Expand All @@ -93,7 +91,7 @@ jobs:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Lint
Expand All @@ -117,12 +115,10 @@ jobs:
python-version: '3.9'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Build and publish package
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/openai.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
python-version: ${{ matrix.python }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Get python version
id: full-python-version
shell: bash
Expand All @@ -90,10 +90,8 @@ jobs:
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Lint
Expand All @@ -117,12 +115,10 @@ jobs:
python-version: '3.9'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Build and publish package
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/pdf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
python-version: ${{ matrix.python }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Get python version
id: full-python-version
shell: bash
Expand All @@ -90,10 +90,8 @@ jobs:
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Lint
Expand All @@ -117,12 +115,10 @@ jobs:
python-version: '3.9'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Build and publish package
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/recognition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ jobs:
python-version: ${{ matrix.python }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Get python version
id: full-python-version
shell: bash
Expand All @@ -90,10 +90,8 @@ jobs:
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('poetry.lock') }}
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Lint
Expand All @@ -117,12 +115,10 @@ jobs:
python-version: '3.9'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Build and publish package
Expand Down
16 changes: 6 additions & 10 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,10 @@ jobs:
python-version: ${{ matrix.python }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Lint
Expand All @@ -109,12 +107,10 @@ jobs:
python-version: '3.9'
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install poetry
run: pip install poetry
- name: Install invoke
run: pip install -U "invoke>=1.6.0,<2.0.0"
- name: Install invocation prerequisites
run: pip install -Ur ../../invocations/requirements.txt
- name: Install invocation package
run: invoke install-invocations
run: invoke install-invocations || invoke self.install-invocations
- name: Install dependencies
run: invoke install
- name: Build and publish package
Expand Down

0 comments on commit b8ce917

Please sign in to comment.