Minimal CI - single job, simplest steps
This commit is contained in:
@@ -11,20 +11,11 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
|
- name: Install
|
||||||
- name: Install dependencies
|
run: pip install -e .
|
||||||
run: |
|
- name: Test
|
||||||
python -m pip install --upgrade pip
|
run: pip install pytest && pytest tests/ -v
|
||||||
pip install pytest pytest-asyncio
|
|
||||||
pip install -r requirements.txt
|
|
||||||
pip install -e .
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
|
||||||
python -c "import snip; print('Import successful:', snip)"
|
|
||||||
pytest tests/ -v --tb=short
|
|
||||||
Reference in New Issue
Block a user