This commit is contained in:
@@ -4,20 +4,15 @@ on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container: python:3.11-bullseye
|
||||
steps:
|
||||
- name: Checkout
|
||||
run: |
|
||||
rm -rf man-card
|
||||
apt-get update -qq && apt-get install -y -qq git > /dev/null
|
||||
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git
|
||||
|
||||
- name: Python check
|
||||
- name: Test
|
||||
run: |
|
||||
which python3
|
||||
python3 --version
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
pip install click fpdf2 Pillow rich pytest
|
||||
|
||||
- name: Run tests
|
||||
run: pytest tests/ -v
|
||||
pip install click fpdf2 Pillow rich pytest pytest-cov
|
||||
pip install -e .
|
||||
pytest tests/ -v --tb=short
|
||||
|
||||
Reference in New Issue
Block a user