Fix CI workflow - add checkout, Python setup, deps, and tests
Some checks failed
CI / test (push) Failing after 8s
Some checks failed
CI / test (push) Failing after 8s
This commit is contained in:
@@ -5,13 +5,18 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check Python
|
- name: Checkout code
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
python3 --version
|
|
||||||
which python3
|
|
||||||
|
|
||||||
- name: List files
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
ls -la
|
pip install -e .
|
||||||
echo "---"
|
pip install pytest pytest-cov
|
||||||
ls -d */
|
|
||||||
|
- name: Run tests
|
||||||
|
run: pytest tests/ -v --cov=man_card --cov-report=term-missing
|
||||||
|
|||||||
Reference in New Issue
Block a user