23 lines
477 B
YAML
23 lines
477 B
YAML
name: CI
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
pip install -e .
|
|
pip install pytest pytest-cov
|
|
|
|
- name: Run tests
|
|
run: pytest tests/ -v --cov=man_card --cov-report=term-missing
|