This repository has been archived by the owner on Dec 15, 2023. It is now read-only.
chore(deps): pre-commit autoupdate (#660) #127
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: build and test ui | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
paths: | |
- ".github/actions/build-ui" | |
- ".github/workflows/test-ui.yaml" | |
- "src/ui/package.json" | |
- "src/ui/pnpm-lock.yaml" | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Compile UI assets | |
uses: ./.github/actions/build-ui | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
- run: | | |
pip install --upgrade tox | |
- run: | | |
python -m scripts.download_weights | |
- run: | | |
tox -e ui |