Skip to content

Commit e973f82

Browse files
committed
Remove caching steps from CI workflow
1 parent 97b32ba commit e973f82

File tree

2 files changed

+3
-24
lines changed

2 files changed

+3
-24
lines changed

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

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,41 +29,20 @@ jobs:
2929
uses: actions/setup-python@v5
3030
with:
3131
python-version: ${{ env.PYTHON_VERSION }}
32-
cache: "pip"
3332

3433
- name: Install uv
3534
uses: astral-sh/setup-uv@v4
3635

37-
- name: Cache uv dependencies
38-
uses: actions/cache@v4
39-
with:
40-
path: ~/.cache/uv
41-
key: ${{ runner.os }}-uv-${{ hashFiles('pyproject.toml') }}
42-
restore-keys: |
43-
${{ runner.os }}-uv-
44-
4536
- name: Install dependencies
4637
run: |
4738
uv pip install --system --upgrade pip
4839
uv pip install --system -e ".[dev,test]"
4940
uv pip install --system inspect-ai
5041
uv pip install --system pytest-timeout
5142
52-
- name: Cache Playwright browsers
53-
uses: actions/cache@v4
54-
id: playwright-cache
55-
with:
56-
path: ~/.cache/ms-playwright
57-
key: ${{ runner.os }}-playwright-${{ hashFiles('pyproject.toml') }}
58-
5943
- name: Install Playwright browsers
60-
if: steps.playwright-cache.outputs.cache-hit != 'true'
6144
run: playwright install --with-deps chromium
6245

63-
- name: Install Playwright dependencies only
64-
if: steps.playwright-cache.outputs.cache-hit == 'true'
65-
run: playwright install-deps chromium
66-
6746
- name: Run Evaluation and Tests 3 Times
6847
env:
6948
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

shiny/pytest/generate/data/prompts/SYSTEM_PROMPT_testing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ For non-Shiny Python code, respond: "This framework is for Shiny for Python only
2424

2525
5. **Scope**: Only test Shiny components with unique IDs. Don't test plot/table content.
2626

27-
6. **Selectize Clear**: Use programmatic click, not `set([])`
28-
```python
29-
selectize.loc.locator("..").locator("> div.plugin-clear_button > a.clear").click()
27+
6. **Selectize Clear**: Use `set([])` to clear all values in Selectize inputs.
28+
-`selectize.set([])`
29+
-`selectize.set("")`
3030
```
3131
3232
7. **Skip icons**: Do not test icon functionality i.e. using tests like `expect_icon("icon_name")`.

0 commit comments

Comments
 (0)