forked from extern/httpie-cli
Build on push via GitHub Actions
This commit is contained in:
parent
ed6156084f
commit
79b0f65fef
@ -1,4 +1,4 @@
|
|||||||
name: Python package
|
name: Build
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
@ -12,8 +12,7 @@ jobs:
|
|||||||
python-version: [3.7]
|
python-version: [3.7]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- 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: make install
|
- run: make install
|
||||||
@ -25,7 +24,7 @@ jobs:
|
|||||||
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
|
||||||
|
|
||||||
test-core:
|
test-core:
|
||||||
# Run core httpie tests everywhere
|
# Run core HTTPie tests everywhere
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -33,8 +32,7 @@ jobs:
|
|||||||
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 }}
|
- 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
|
@ -11,7 +11,7 @@ generally interacting with HTTP servers.
|
|||||||
|
|
||||||
.. class:: no-web no-pdf
|
.. class:: no-web no-pdf
|
||||||
|
|
||||||
|pypi| |unix_build| |coverage| |downloads| |gitter|
|
|pypi| |build| |coverage| |downloads| |gitter|
|
||||||
|
|
||||||
|
|
||||||
.. class:: no-web no-pdf
|
.. class:: no-web no-pdf
|
||||||
@ -1764,9 +1764,9 @@ have contributed.
|
|||||||
:target: https://coveralls.io/r/jakubroztocil/httpie?branch=master
|
:target: https://coveralls.io/r/jakubroztocil/httpie?branch=master
|
||||||
:alt: Test coverage
|
:alt: Test coverage
|
||||||
|
|
||||||
.. |unix_build| image:: https://img.shields.io/travis/jakubroztocil/httpie/master.svg?style=flat-square&label=unix%20build
|
.. |build| image::![](https://github.com/jakubroztocil/httpie/workflows/.github/workflows/build.yml/badge.svg)
|
||||||
:target: https://travis-ci.org/jakubroztocil/httpie
|
:target: https://travis-ci.org/jakubroztocil/httpie
|
||||||
:alt: Build status of the master branch on Mac/Linux
|
:alt: Build status of the master branch on Mac/Linux/Windows
|
||||||
|
|
||||||
.. |gitter| image:: https://img.shields.io/gitter/room/jkbrzt/httpie.svg?style=flat-square
|
.. |gitter| image:: https://img.shields.io/gitter/room/jkbrzt/httpie.svg?style=flat-square
|
||||||
:target: https://gitter.im/jkbrzt/httpie
|
:target: https://gitter.im/jkbrzt/httpie
|
||||||
|
Loading…
Reference in New Issue
Block a user