2020-04-25 06:09:47 +02:00
|
|
|
name: Python package
|
|
|
|
|
2021-04-26 01:10:03 +02:00
|
|
|
on: [push, pull_request]
|
2020-04-25 06:09:47 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-18.04
|
|
|
|
strategy:
|
|
|
|
max-parallel: 4
|
|
|
|
matrix:
|
|
|
|
python-version: [3.5, 3.6, 3.7]
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
|
uses: actions/setup-python@v1
|
|
|
|
with:
|
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
pip install codecov wheel cryptography
|
|
|
|
pip install .
|
|
|
|
- name: Test
|
|
|
|
run: |
|
|
|
|
make test
|
|
|
|
bash <(curl -s https://codecov.io/bash)
|