2020-09-26 18:17:00 +00:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
2021-05-20 20:23:56 +00:00
|
|
|
|
|
|
|
basic_install:
|
2020-09-26 18:17:00 +00:00
|
|
|
name: 'pip install'
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-05-20 20:13:10 +00:00
|
|
|
|
2020-09-26 18:17:00 +00:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
2021-05-20 20:13:10 +00:00
|
|
|
ref: master
|
|
|
|
|
2020-09-26 18:17:00 +00:00
|
|
|
- name: Setup python
|
|
|
|
uses: actions/setup-python@v2
|
|
|
|
with:
|
2021-05-20 20:13:10 +00:00
|
|
|
python-version: '3.9'
|
|
|
|
|
2020-09-26 18:17:00 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
run: pip install -e . --upgrade-strategy eager -r requirements.txt
|
2021-05-20 20:13:10 +00:00
|
|
|
|
|
|
|
- name: Run piker cli
|
2020-09-26 18:17:00 +00:00
|
|
|
run: piker
|
2021-05-20 20:13:10 +00:00
|
|
|
|
2021-05-20 20:23:56 +00:00
|
|
|
testing:
|
2021-05-20 20:26:19 +00:00
|
|
|
name: 'pip install'
|
|
|
|
runs-on: ubuntu-latest
|
2021-05-20 20:23:56 +00:00
|
|
|
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
|