mirror of
https://github.com/httpie/cli.git
synced 2024-11-29 11:13:28 +01:00
worflow
This commit is contained in:
parent
525449f044
commit
0169151aa3
35
.github/workflows/pythonpackage.yml
vendored
35
.github/workflows/pythonpackage.yml
vendored
@ -11,14 +11,14 @@ jobs:
|
|||||||
os: [ubuntu-latest, macOS-latest, windows-latest]
|
os: [ubuntu-latest, macOS-latest, windows-latest]
|
||||||
python-version: [3.6, 3.7]
|
python-version: [3.6, 3.7]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- run: python -m pip install --upgrade pip
|
- run: python -m pip install --upgrade pip
|
||||||
- run: pip install --upgrade --editable .
|
- run: pip install --upgrade --editable .
|
||||||
- run: python setup.py test
|
- run: python setup.py test
|
||||||
|
|
||||||
test-extras:
|
test-extras:
|
||||||
# coverage and extra tests only once
|
# coverage and extra tests only once
|
||||||
@ -27,10 +27,15 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
python-version: [3.7]
|
python-version: [3.7]
|
||||||
steps:
|
steps:
|
||||||
- run: make install
|
- uses: actions/checkout@v1
|
||||||
- run: make test
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
- run: make test-dist
|
uses: actions/setup-python@v1
|
||||||
- run: make pycodestyle
|
with:
|
||||||
- run: make coveralls
|
python-version: ${{ matrix.python-version }}
|
||||||
env:
|
- run: make install
|
||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
- run: make test
|
||||||
|
- run: make test-dist
|
||||||
|
- run: make pycodestyle
|
||||||
|
- run: make coveralls
|
||||||
|
env:
|
||||||
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user