Skip to content

fix: preserve gallery mode on filter reset + invalidate type cache af… #1

fix: preserve gallery mode on filter reset + invalidate type cache af…

fix: preserve gallery mode on filter reset + invalidate type cache af… #1

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
python-tests:
name: Python Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install test dependencies
run: pip install pytest fastapi[standard] httpx pyjwt pillow numpy scipy scikit-learn
- name: Run tests
run: python -m pytest --tb=short -q
angular-tests:
name: Angular Tests
runs-on: ubuntu-latest
defaults:
run:
working-directory: client
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
cache-dependency-path: client/package-lock.json
- run: npm ci
- run: npm test -- --ci --passWithNoTests
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install ruff
- run: ruff check api/ tests/ --select E,F,W --ignore E501
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
cache-dependency-path: client/package-lock.json
- run: npm ci
working-directory: client
- run: npx ng lint --no-progress
working-directory: client