Skip to content

Commit eda17f4

Browse files
authored
Require extra deps in all workflows (#433)
1 parent d4cf92d commit eda17f4

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

.github/workflows/license_finder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
workflow_call:
66
pull_request:
7-
branches: ['main']
7+
branches: ["main"]
88

99
jobs:
1010
license_finder:
@@ -26,7 +26,7 @@ jobs:
2626
uses: snok/install-poetry@v1
2727

2828
- name: Install package
29-
run: poetry install
29+
run: poetry install --all-extras
3030

3131
- name: Generate requirements.txt (exclude dev dependencies)
3232
run: |

.github/workflows/release-candidate.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ on:
44
workflow_dispatch:
55
inputs:
66
version:
7-
description: 'The type of version bump. All versions will have `rc*` appended. `rc` version bumps will happen automatically, so select the type of version bump for the final release. Use `-s` for no change.'
7+
description: "The type of version bump. All versions will have `rc*` appended. `rc` version bumps will happen automatically, so select the type of version bump for the final release. Use `-s` for no change."
88
type: choice
99
required: true
10-
default: '-s'
10+
default: "-s"
1111
options:
12-
- major
13-
- minor
14-
- patch
15-
- '-s'
12+
- major
13+
- minor
14+
- patch
15+
- "-s"
1616

1717
jobs:
1818
prepare:
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
organization: viamrobotics
3535
username: ${{ github.actor }}
36-
token: ${{ secrets.GITHUB_TOKEN }}
36+
token: ${{ secrets.GITHUB_TOKEN }}
3737

3838
- name: Cancelling - user not part of organization
3939
uses: andymckay/cancel-action@0.2
@@ -56,7 +56,7 @@ jobs:
5656
uses: snok/install-poetry@v1
5757

5858
- name: Install Package
59-
run: poetry install
59+
run: poetry install --all-extras
6060

6161
- name: Clean Format Test
6262
run: make clean better_imports format test
@@ -88,7 +88,7 @@ jobs:
8888
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8989
with:
9090
releaseName: v${{ env.SDK_RC_VERSION }}
91-
doNotFailIfNotFound: 'true'
91+
doNotFailIfNotFound: "true"
9292

9393
- name: Cancelling - release already exists
9494
uses: andymckay/cancel-action@0.2
@@ -141,7 +141,7 @@ jobs:
141141
uses: snok/install-poetry@v1
142142

143143
- name: Install package
144-
run: poetry install
144+
run: poetry install --all-extras
145145

146146
- name: Download binary
147147
run: curl -sL -o src/viam/rpc/libviam_rust_utils.${{ matrix.ext }} https://github.com/viamrobotics/rust-utils/releases/latest/download/libviam_rust_utils-${{ matrix.arch }}.${{ matrix.ext }}

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
organization: viamrobotics
2020
username: ${{ github.actor }}
21-
token: ${{ secrets.GITHUB_TOKEN }}
21+
token: ${{ secrets.GITHUB_TOKEN }}
2222

2323
- name: Cancelling - user not part of organization
2424
uses: andymckay/cancel-action@0.2
@@ -32,7 +32,7 @@ jobs:
3232
uses: snok/install-poetry@v1
3333

3434
- name: Install Package
35-
run: poetry install
35+
run: poetry install --all-extras
3636

3737
- name: Clean Format Test
3838
run: make clean better_imports format test
@@ -52,7 +52,7 @@ jobs:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5353
with:
5454
releaseName: v${{ env.SDK_VERSION }}
55-
doNotFailIfNotFound: 'true'
55+
doNotFailIfNotFound: "true"
5656

5757
- name: Cancelling - release already exists
5858
uses: andymckay/cancel-action@0.2
@@ -106,7 +106,7 @@ jobs:
106106
uses: snok/install-poetry@v1
107107

108108
- name: Install package
109-
run: poetry install
109+
run: poetry install --all-extras
110110

111111
- name: Download binary
112112
run: curl -sL -o src/viam/rpc/libviam_rust_utils.${{ matrix.ext }} https://github.com/viamrobotics/rust-utils/releases/latest/download/libviam_rust_utils-${{ matrix.arch }}.${{ matrix.ext }}

.github/workflows/update_protos.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: snok/install-poetry@v1
2626

2727
- name: Install package
28-
run: poetry install
28+
run: poetry install --all-extras
2929

3030
- name: Generate buf
3131
run: make buf
@@ -41,8 +41,8 @@ jobs:
4141
- name: Add + Commit + Open PR
4242
uses: peter-evans/create-pull-request@v5
4343
with:
44-
commit-message: '[WORKFLOW] Updating protos from ${{ github.event.client_payload.repo_name }}, commit: ${{ github.event.client_payload.sha }}'
45-
branch: 'workflow/update-protos'
44+
commit-message: "[WORKFLOW] Updating protos from ${{ github.event.client_payload.repo_name }}, commit: ${{ github.event.client_payload.sha }}"
45+
branch: "workflow/update-protos"
4646
delete-branch: true
4747
base: main
4848
title: Automated Protos Update

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ allowlist_externals =
2020
make
2121
recreate = True
2222
commands =
23-
poetry install
23+
poetry install --all-extras
2424
make test_docs

0 commit comments

Comments
 (0)