Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
with:
python-version: "3.12"
cache: 'pip'
cache-dependency-path: 'dev-requirements.txt'
cache-dependency-path: 'pyproject.toml'
- name: Cache Playwright browsers
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright/
key: ${{ runner.os }}-browsers
- name: Install dependencies
run: |
pip install -r dev-requirements.txt
pip install -e .
playwright install
- name: Run test
run: |
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ tools.json
gathered_links.json
colophon.html
index.html
*.egg-info/
__pycache__/
*.pyc
.pytest_cache/
7 changes: 4 additions & 3 deletions TOOLS_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
├── gather_links.py # Collects tool metadata
├── README.md # Main listing of all tools
├── build.sh # Build script
├── dev-requirements.txt # pytest-playwright
├── pyproject.toml # Python project config and dependencies
└── .gitignore
```

Expand Down Expand Up @@ -449,7 +449,7 @@ def test_open_image(page: Page, static_server):
### Running Tests
```bash
# Install dependencies
pip install -r dev-requirements.txt
pip install -e .
playwright install

# Run all tests
Expand Down Expand Up @@ -516,14 +516,15 @@ jobs:
with:
python-version: "3.12"
cache: 'pip'
cache-dependency-path: 'pyproject.toml'
- name: Cache Playwright browsers
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright/
key: ${{ runner.os }}-browsers
- name: Install dependencies
run: |
pip install -r dev-requirements.txt
pip install -e .
playwright install
- name: Run test
run: pytest
Expand Down
Loading