piker/.github/workflows/ci.yml

46 lines
839 B
YAML
Raw Normal View History

name: CI
on: push
jobs:
basic_install:
name: 'pip install'
runs-on: ubuntu-latest
steps:
2021-05-20 20:13:10 +00:00
- name: Checkout
uses: actions/checkout@v2
with:
2021-05-20 20:13:10 +00:00
ref: master
- name: Setup python
uses: actions/setup-python@v2
with:
2021-05-20 20:13:10 +00:00
python-version: '3.9'
- 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
run: piker
2021-05-20 20:13:10 +00:00
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