Skip to content

Commit 0e1a153

Browse files
committed
Bump python version for test.yml
1 parent f94bd0f commit 0e1a153

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
id: setup-python
4141
uses: actions/setup-python@v5
4242
with:
43-
python-version: '3.9'
43+
python-version: "3.11"
4444

4545
- name: Install Poetry
4646
uses: snok/install-poetry@v1
@@ -78,7 +78,7 @@ jobs:
7878
id: setup-python
7979
uses: actions/setup-python@v5
8080
with:
81-
python-version: '3.9'
81+
python-version: "3.11"
8282

8383
- name: Install Poetry
8484
uses: snok/install-poetry@v1
@@ -133,7 +133,7 @@ jobs:
133133
id: setup-python
134134
uses: actions/setup-python@v5
135135
with:
136-
python-version: '3.9'
136+
python-version: "3.11"
137137

138138
- name: Install Poetry
139139
uses: snok/install-poetry@v1
@@ -171,7 +171,7 @@ jobs:
171171
--base_path=tests/cicd/generate_docstring \
172172
--disable_telemetry
173173
174-
- name : Generate Diagram
174+
- name: Generate Diagram
175175
run: |
176176
source .venv/bin/activate
177177
patchwork GenerateDiagram --log debug \
@@ -188,7 +188,7 @@ jobs:
188188
--github_api_key=${{ secrets.SCM_GITHUB_KEY }} \
189189
--folder_path=tests/cicd/generate_docstring \
190190
--disable_telemetry
191-
191+
192192
- name: Generate Code Usage Example
193193
run: |
194194
source .venv/bin/activate
@@ -204,15 +204,15 @@ jobs:
204204
# Specify the parent folder you want to check
205205
PARENT_FOLDER="./patchwork/steps"
206206
# Command to run if README.md is not found
207-
207+
208208
find "$PARENT_FOLDER" -mindepth 1 -maxdepth 1 -type d | grep -vE '/\.\.?/' | grep -vE '/__' | while read -r dir; do
209209
if [[ ! -f "$dir/README.md" ]]; then
210210
echo "No README.md in $dir"
211211
# Extract the last part of the path to use as a base for the branch name
212212
base_name=$(basename "$dir")
213213
# Convert to a Git-friendly branch name: replace spaces with underscores, remove slashes, etc.
214214
branch_name=$(echo "$base_name" | sed -e 's/[^a-zA-Z0-9]/_/g' -e 's/__*/_/g' -e 's/^_//g' -e 's/_$//g')
215-
215+
216216
patchwork GenerateREADME --log debug \
217217
--patched_api_key=${{ secrets.PATCHED_API_KEY }} \
218218
--github_api_key=${{ secrets.SCM_GITHUB_KEY }} \

0 commit comments

Comments
 (0)