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