Add seperate test job installing test deps
parent
beecea52e4
commit
b8d9b4a5ac
|
@ -3,9 +3,11 @@ name: CI
|
||||||
on: push
|
on: push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
mypy:
|
|
||||||
|
basic_install:
|
||||||
name: 'pip install'
|
name: 'pip install'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
@ -24,5 +26,20 @@ jobs:
|
||||||
- name: Run piker cli
|
- name: Run piker cli
|
||||||
run: piker
|
run: piker
|
||||||
|
|
||||||
- name: Run test suite
|
testing:
|
||||||
run: pytest tests
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup python
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: '3.9'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pip install -U . -r requirements-test.txt --upgrade-strategy eager
|
||||||
|
|
||||||
|
- name: Test suite
|
||||||
|
run: pytest tests -rs
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
pytest
|
Loading…
Reference in New Issue