Make the dependency on PyTorch optional #47
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
# Helpful YAML parser to clarify YAML syntax: | |
# https://yaml-online-parser.appspot.com/ | |
name: Run CI | |
on: | |
push: | |
branches: ["main"] | |
paths: | |
- 'src/server/**' | |
- 'src/ui/**' | |
- '.github/workflows/**' | |
- 'ci/**' | |
pull_request: | |
branches: ["main"] | |
paths: | |
- 'src/server/**' | |
- 'src/ui/**' | |
- '.github/workflows/**' | |
- 'ci/**' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
run-formatting: | |
name: Formatting | |
uses: ./.github/workflows/formatting.yml | |
with: | |
trigger-sha: ${{ github.event.pull_request.head.sha }} | |
run-tests: | |
name: Playwright Tests | |
uses: ./.github/workflows/playwright.yml | |
with: | |
trigger-sha: ${{ github.event.pull_request.head.sha }} | |