CI with pip install and pytest
This commit is contained in:
@@ -8,10 +8,16 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Echo test
|
||||
run: echo "Hello World"
|
||||
- name: Show environment
|
||||
- name: Show directory
|
||||
run: |
|
||||
echo "PWD: $(pwd)"
|
||||
echo "Files: $(ls -la)"
|
||||
python3 --version || echo "Python not found"
|
||||
ls -la
|
||||
- name: Install Python and pip
|
||||
run: |
|
||||
python3 --version
|
||||
pip3 --version
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip3 install -e . pytest pytest-asyncio
|
||||
- name: Run tests
|
||||
run: pytest tests/ -v --tb=short
|
||||
Reference in New Issue
Block a user