diff options
author | Steve Dower <steve.dower@python.org> | 2019-12-16 19:15:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-16 19:15:08 (GMT) |
commit | 6a263cf1adfc18cdba65c788dd76d35997a89acf (patch) | |
tree | 92bb3e8af0d4f78faec8962d5dc4abc682b29da8 | |
parent | a76ba362c4d86adf5e7f8254398135d12d7afd25 (diff) | |
download | cpython-6a263cf1adfc18cdba65c788dd76d35997a89acf.zip cpython-6a263cf1adfc18cdba65c788dd76d35997a89acf.tar.gz cpython-6a263cf1adfc18cdba65c788dd76d35997a89acf.tar.bz2 |
bpo-39041: Add GitHub Actions badge to README.rst (GH-17628)
Also skip build for doc-only changes and enable on push
-rw-r--r-- | .github/workflows/build.yml | 20 | ||||
-rw-r--r-- | README.rst | 4 |
2 files changed, 16 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16d6f0d..7f13cfb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,14 +1,16 @@ name: Tests on: - #push: - # branches: - # - master - # - 3.8 - # - 3.7 - # paths-ignore: - # - 'Doc/**' - # - 'Misc/**' + push: + branches: + - master + - 3.8 + - 3.7 + paths-ignore: + - 'Doc/**' + - 'Misc/**' + - '**/*.md' + - '**/*.rst' pull_request: branches: - master @@ -17,6 +19,8 @@ on: paths-ignore: - 'Doc/**' - 'Misc/**' + - '**/*.md' + - '**/*.rst' jobs: build_win32: @@ -5,6 +5,10 @@ This is Python version 3.9.0 alpha 1 :alt: CPython build status on Travis CI :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 :alt: CPython build status on Azure DevOps :target: https://dev.azure.com/python/cpython/_build/latest?definitionId=4&branchName=master |