Fix CI workflow - use absolute paths
Some checks failed
CI / test (push) Failing after 1s
CI / build (push) Has been skipped
CI / lint (push) Failing after 1s

This commit is contained in:
2026-01-31 21:53:42 +00:00
parent 16a4cbb4c0
commit f60b62db7e

View File

@@ -10,23 +10,26 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- run: |
python3 -m pip install --upgrade pip
- name: Test
run: |
pip install --upgrade pip
pip install pytest
pip install -r requirements.txt
pytest tests/ -v
pip install -r /app/requirements.txt
pytest /app/tests/ -v
lint:
runs-on: ubuntu-latest
steps:
- run: |
- name: Lint
run: |
pip install ruff
ruff check .
ruff check /app/
build:
runs-on: ubuntu-latest
needs: test
steps:
- run: |
pip install -r requirements.txt
- name: Build
run: |
pip install -r /app/requirements.txt
python -c "from man_card import cli, man_parser, card_generator, templates, config; print('All modules import successfully')"