httpie-cli/.github/workflows/pythonpackage.yml
Jakub Roztocil b7767b3c62 workflow
2019-09-10 13:36:02 +02:00

36 lines
853 B
YAML

name: Python package
on: [push]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 4
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
python-version: [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 }}
- run: python -m pip install --upgrade pip
- run: make install
- run: make test
pycodestyle:
runs-on: ubuntu-latest
python-version: 3.7
steps:
- name: pycodestyle
run: make pycodestyle
coveralls:
runs-on: ubuntu-latest
python-version: 3.7
steps:
- name: coveralls
run: make coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}