Skip to content

Commit 247d6d3

Browse files
committed
Use shiny setup helper. Test on workflow files updates
1 parent de5f74b commit 247d6d3

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

.github/workflows/verify-test-generation-prompts.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Validate Test Generation Prompts
33
on:
44
pull_request:
55
paths:
6+
- ".github/workflows/verify-test-generation-prompts.yml"
67
- "shiny/pytest/_generate/**"
78
workflow_dispatch:
89

.github/workflows/verify-testing-docs-on-change.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Validate Testing Documentation for changes
33
on:
44
pull_request:
55
paths:
6+
- ".github/workflows/verify-testing-docs-on-change.yml"
67
- "docs/_quartodoc-testing.yml"
78
- "shiny/playwright/controller/**"
89

@@ -21,18 +22,13 @@ jobs:
2122
with:
2223
fetch-depth: 0
2324

24-
- name: Set up Python
25-
uses: actions/setup-python@v5
26-
with:
27-
python-version: "3.13"
28-
29-
- name: Install uv
30-
uses: astral-sh/setup-uv@v4
25+
- name: Setup py-shiny
26+
id: install
27+
uses: ./.github/py-shiny/setup
3128

3229
- name: Install dependencies
3330
run: |
34-
uv pip install --system --upgrade pip
35-
uv pip install --system -e ".[dev,test,doc]"
31+
ci-install-docs
3632
3733
- name: Update testing docs and check for changes
3834
id: check-docs-changes
@@ -44,8 +40,8 @@ jobs:
4440
make update-testing-docs
4541
4642
if [[ ! -f testing-documentation-before.json || ! -f shiny/pytest/_generate/_data/testing-documentation.json ]]; then
47-
echo "One or both documentation files are missing."
48-
exit 1
43+
echo "One or both documentation files are missing."
44+
exit 1
4945
fi
5046
5147
# Check if the documentation file has changed

0 commit comments

Comments
 (0)