mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 21:07:15 +01:00
34 lines
694 B
YAML
34 lines
694 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
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.10", "3.11", "3.12"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
run: pip install -r requirements.txt
|
|
|
|
- name: Run tests with coverage
|
|
run: python -m pytest -v
|