Skip to content

Update to current ecosystem #17

Update to current ecosystem

Update to current ecosystem #17

Workflow file for this run

name: ci
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v1
with:
python-version: "3.x"
- uses: actions/checkout@v2
- name: Lint with flake8
run: |
pip install flake8
flake8 .
- name: Lint with black
run: |
pip install black
black --check .
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/setup-python@v1
with:
python-version: "3.x"
- uses: actions/checkout@v2
- name: Install package
run: pip install .
- name: Test with pytest
run: |
pip install pytest pytest-cov
cd test/ && pytest --cov krypy
- name: Submit to codecov
if: ${{ matrix.python-version == '3.8' }}
run: bash <(curl -s https://codecov.io/bash)