Build on push via GitHub Actions

This commit is contained in:
Jakub Roztocil 2019-09-10 14:14:39 +02:00
parent ed6156084f
commit 79b0f65fef
2 changed files with 7 additions and 9 deletions

View File

@ -1,4 +1,4 @@
name: Python package
name: Build
on: [push]
@ -12,8 +12,7 @@ jobs:
python-version: [3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- run: make install
@ -25,7 +24,7 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
test-core:
# Run core httpie tests everywhere
# Run core HTTPie tests everywhere
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -33,8 +32,7 @@ jobs:
python-version: [3.6, 3.7]
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- run: python -m pip install --upgrade pip

View File

@ -11,7 +11,7 @@ generally interacting with HTTP servers.
.. class:: no-web no-pdf
|pypi| |unix_build| |coverage| |downloads| |gitter|
|pypi| |build| |coverage| |downloads| |gitter|
.. class:: no-web no-pdf
@ -1764,9 +1764,9 @@ have contributed.
:target: https://coveralls.io/r/jakubroztocil/httpie?branch=master
: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
: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
:target: https://gitter.im/jkbrzt/httpie