This commit is contained in:
@@ -6,16 +6,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git /tmp/man-card
|
run: git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git
|
||||||
|
|
||||||
- name: Install system deps
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
pip install click fpdf2 Pillow rich pytest
|
||||||
sudo apt-get install -y libjpeg-dev zlib1g-dev
|
pip install -e .
|
||||||
|
|
||||||
- name: Install and test
|
- name: Test
|
||||||
run: |
|
run: pytest tests/test_cli.py -v
|
||||||
cd /tmp/man-card
|
|
||||||
pip install --no-cache-dir click fpdf2 Pillow rich pytest pytest-cov
|
|
||||||
pip install --no-cache-dir -e .
|
|
||||||
pytest tests/ -v --tb=short
|
|
||||||
|
|||||||
Reference in New Issue
Block a user