diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/build.yml similarity index 78% rename from .github/workflows/pythonpackage.yml rename to .github/workflows/build.yml index 555ae3e5..f5f1e12e 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/README.rst b/README.rst index a9947f01..b12e29c7 100644 --- a/README.rst +++ b/README.rst @@ -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