This commit is contained in:
@@ -6,18 +6,18 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- 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: |
|
run: |
|
||||||
pip install -e .
|
rm -rf man-card
|
||||||
pip install pytest
|
git clone --depth 1 https://7000pct.gitea.bloupla.net/7000pctAUTO/man-card.git
|
||||||
pytest tests/ -v
|
|
||||||
|
- name: Python check
|
||||||
|
run: |
|
||||||
|
which python3
|
||||||
|
python3 --version
|
||||||
|
|
||||||
|
- name: Install
|
||||||
|
run: |
|
||||||
|
pip install click fpdf2 Pillow rich pytest
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: pytest tests/ -v
|
||||||
|
|||||||
Reference in New Issue
Block a user