mirror of
https://github.com/httpie/cli.git
synced 2025-01-23 13:58:45 +01:00
workflow
This commit is contained in:
parent
a5d9a839e5
commit
b7767b3c62
34
.github/workflows/pythonpackage.yml
vendored
34
.github/workflows/pythonpackage.yml
vendored
@ -3,8 +3,7 @@ name: Python package
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
test:
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
max-parallel: 4
|
max-parallel: 4
|
||||||
@ -17,17 +16,20 @@ jobs:
|
|||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: upgrade pip
|
- run: python -m pip install --upgrade pip
|
||||||
run: python -m pip install --upgrade pip
|
- run: make install
|
||||||
- name: install
|
- run: make test
|
||||||
run: make install
|
pycodestyle:
|
||||||
- name: test
|
runs-on: ubuntu-latest
|
||||||
run: make test
|
python-version: 3.7
|
||||||
- name: pycodestyle
|
steps:
|
||||||
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7'
|
- name: pycodestyle
|
||||||
run: make pycodestyle
|
run: make pycodestyle
|
||||||
- name: coveralls
|
coveralls:
|
||||||
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.7'
|
runs-on: ubuntu-latest
|
||||||
run: make coveralls
|
python-version: 3.7
|
||||||
env:
|
steps:
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
- name: coveralls
|
||||||
|
run: make coveralls
|
||||||
|
env:
|
||||||
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user