64e60dc577
Unit Tests / test (push) Failing after 9m3s
- test.yml: run unit tests on every push (all branches) - release.yml: build and push pic-api + pic-webui images on v*.*.* tags Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
26 lines
514 B
YAML
26 lines
514 B
YAML
name: Unit Tests
|
|
|
|
on:
|
|
push:
|
|
branches: ["**"]
|
|
pull_request:
|
|
branches: ["**"]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "3.11"
|
|
|
|
- name: Install dependencies
|
|
run: pip install -r api/requirements.txt
|
|
|
|
- name: Run unit tests
|
|
run: python3 -m pytest tests/ --ignore=tests/e2e --ignore=tests/integration -q
|