29 lines
518 B
YAML
29 lines
518 B
YAML
name: CI
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
mypy:
|
|
name: 'pip install'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
ref: master
|
|
|
|
- name: Setup python
|
|
uses: actions/setup-python@v2
|
|
with:
|
|
python-version: '3.9'
|
|
|
|
- name: Install dependencies
|
|
run: pip install -e . --upgrade-strategy eager -r requirements.txt
|
|
|
|
- name: Run piker cli
|
|
run: piker
|
|
|
|
- name: Run test suite
|
|
run: pytest tests
|