1
0
mirror of https://github.com/httpie/cli.git synced 2025-01-10 00:28:12 +02:00
httpie-cli/.github/workflows/pythonpackage.yml
Workflow config file is invalid. Please check your config file: yaml: line 25: did not find expected key
Jakub Roztocil d9aadeef51 worflow
2019-09-10 13:59:43 +02:00

37 lines
920 B
YAML

name: Python package
on: [push]
jobs:
name: tests
test:
# run core httpie tests everywhere
runs-on: ${{ matrix.os }}
strategy:
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: pip install --upgrade --editable .
- run: python setup.py test
test-extras:
# coverage and extra tests only once
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
- run: make install
- run: make test
- run: make test-dist
- run: make pycodestyle
- run: make coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}