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:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check Python
|
||||
run: |
|
||||
python3 --version
|
||||
which python3
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: List files
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
ls -la
|
||||
echo "---"
|
||||
ls -d */
|
||||
pip install -e .
|
||||
pip install pytest pytest-cov
|
||||
|
||||
- name: Run tests
|
||||
run: pytest tests/ -v --cov=man_card --cov-report=term-missing
|
||||
|
||||
Reference in New Issue
Block a user