Add seperate test job installing test deps

py3.9
Tyler Goodlet 2021-05-20 16:23:56 -04:00
parent beecea52e4
commit b8d9b4a5ac
2 changed files with 21 additions and 3 deletions

View File

@ -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

View File

@ -0,0 +1 @@
pytest