This commit is contained in:
@@ -4,15 +4,15 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: python:3.11-bullseye
|
container: python:3.11-slim
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
run: |
|
run: |
|
||||||
apt-get update -qq && apt-get install -y -qq git > /dev/null
|
apt-get update -qq && apt-get install -y -qq git libjpeg-dev zlib1g-dev > /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: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
pip install click fpdf2 Pillow rich pytest pytest-cov
|
pip install --no-cache-dir click fpdf2 Pillow rich pytest pytest-cov
|
||||||
pip install -e .
|
pip install --no-cache-dir -e .
|
||||||
pytest tests/ -v --tb=short
|
pytest tests/ -v --tb=short
|
||||||
|
|||||||
Reference in New Issue
Block a user