fix: debug what's available in the runner
All checks were successful
CI / test (push) Successful in 1s
All checks were successful
CI / test (push) Successful in 1s
This commit is contained in:
@@ -8,15 +8,14 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check Python
|
- name: Check environment
|
||||||
run: python3 --version
|
run: |
|
||||||
- name: Check pip
|
echo "PATH=$PATH"
|
||||||
run: pip3 --version
|
which python || echo "python not found"
|
||||||
- name: Install deps
|
which python3 || echo "python3 not found"
|
||||||
run: pip3 install -e ".[dev]"
|
which pip || echo "pip not found"
|
||||||
- name: Lint
|
which pip3 || echo "pip3 not found"
|
||||||
run: ruff check src/
|
ls /usr/bin/python* 2>/dev/null || echo "No python in /usr/bin"
|
||||||
- name: Type check
|
ls /usr/local/bin/python* 2>/dev/null || echo "No python in /usr/local/bin"
|
||||||
run: mypy src/
|
- name: Check OS
|
||||||
- name: Test
|
run: cat /etc/os-release
|
||||||
run: pytest tests/ -v
|
|
||||||
Reference in New Issue
Block a user