bpo-39041: Add GitHub Actions badge to README.rst (GH-17628)

Also skip build for doc-only changes and enable on push
This commit is contained in:
Steve Dower 2019-12-16 11:15:08 -08:00 committed by GitHub
parent a76ba362c4
commit 6a263cf1ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 8 deletions

View File

@ -1,14 +1,16 @@
name: Tests name: Tests
on: on:
#push: push:
# branches: branches:
# - master - master
# - 3.8 - 3.8
# - 3.7 - 3.7
# paths-ignore: paths-ignore:
# - 'Doc/**' - 'Doc/**'
# - 'Misc/**' - 'Misc/**'
- '**/*.md'
- '**/*.rst'
pull_request: pull_request:
branches: branches:
- master - master
@ -17,6 +19,8 @@ on:
paths-ignore: paths-ignore:
- 'Doc/**' - 'Doc/**'
- 'Misc/**' - 'Misc/**'
- '**/*.md'
- '**/*.rst'
jobs: jobs:
build_win32: build_win32:

View File

@ -5,6 +5,10 @@ This is Python version 3.9.0 alpha 1
:alt: CPython build status on Travis CI :alt: CPython build status on Travis CI
:target: https://travis-ci.org/python/cpython :target: https://travis-ci.org/python/cpython
.. image:: https://github.com/python/cpython/workflows/Tests/badge.svg
:alt: CPython build status on GitHub Actions
:target: https://github.com/python/cpython/actions
.. image:: https://dev.azure.com/python/cpython/_apis/build/status/Azure%20Pipelines%20CI?branchName=master .. image:: https://dev.azure.com/python/cpython/_apis/build/status/Azure%20Pipelines%20CI?branchName=master
:alt: CPython build status on Azure DevOps :alt: CPython build status on Azure DevOps
:target: https://dev.azure.com/python/cpython/_build/latest?definitionId=4&branchName=master :target: https://dev.azure.com/python/cpython/_build/latest?definitionId=4&branchName=master