mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 20:27:15 +01:00
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
30 lines
564 B
YAML
30 lines
564 B
YAML
name: crdt-sync tests
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths: ['crdt-sync/**']
|
|
pull_request:
|
|
branches: [main]
|
|
paths: ['crdt-sync/**']
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: crdt-sync
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.x"
|
|
|
|
- name: Install dependencies
|
|
run: pip install -r requirements.txt
|
|
|
|
- name: Run tests with coverage
|
|
run: python -m pytest -v
|