Add seperate test job installing test deps
parent
beecea52e4
commit
b8d9b4a5ac
|
@ -3,9 +3,11 @@ name: CI
|
|||
on: push
|
||||
|
||||
jobs:
|
||||
mypy:
|
||||
|
||||
basic_install:
|
||||
name: 'pip install'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
- name: Checkout
|
||||
|
@ -24,5 +26,20 @@ jobs:
|
|||
- name: Run piker cli
|
||||
run: piker
|
||||
|
||||
- name: Run test suite
|
||||
run: pytest tests
|
||||
testing:
|
||||
|
||||
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