24 lines
474 B
YAML
24 lines
474 B
YAML
name: CI
|
|
on: [push]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: 7000pctAUTO/man-card
|
|
token: ${{ secrets.GITEA_TOKEN }}
|
|
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Install and test
|
|
run: |
|
|
pip install -e .
|
|
pip install pytest
|
|
pytest tests/ -v
|