Files
wizarr/.github/workflows/pytest.yml
dependabot[bot] 006898dbca build(deps): bump actions/cache from 4 to 5
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-15 09:34:34 +00:00

42 lines
878 B
YAML

name: Run Tests
on:
pull_request:
branches: [ main ]
jobs:
test:
runs-on: blacksmith-2vcpu-ubuntu-2404
if: github.actor != 'weblate'
steps:
- uses: actions/checkout@v6
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version-file: pyproject.toml
- name: Cache dependencies
uses: actions/cache@v5
with:
path: ~/.cache/uv
key: ${{ runner.os }}-uv-${{ hashFiles('**/pyproject.toml') }}
restore-keys: |
${{ runner.os }}-uv-
- name: Install dependencies
run: |
uv sync --dev
- name: Install Playwright browsers
run: |
uv run playwright install --with-deps
- name: Run tests
run: |
uv run pytest --verbose