28 lines
552 B
YAML
28 lines
552 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: |
|
|
pip3 install -e ".[dev]"
|
|
|
|
- name: Run tests
|
|
run: |
|
|
pytest tests/ -v --cov=man_card --cov-report=term-missing
|
|
|
|
- name: Check Python
|
|
run: |
|
|
python3 --version
|
|
which python3
|