Skip to content

Commit

Permalink
run build on pull requests and restrict build badge to main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
xflr6 committed Jul 12, 2021
1 parent 78885a8 commit e4cca42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build
on:
- push
- pull_request
jobs:
build:
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ This package is distributed under the `MIT license`_.
:target: https://pypi.org/project/graphviz/
:alt: Format

.. |Build| image:: https://github.com/xflr6/graphviz/actions/workflows/build.yaml/badge.svg
.. |Build| image:: https://github.com/xflr6/graphviz/actions/workflows/build.yaml/badge.svg?branch=master
:target: https://github.com/xflr6/graphviz/actions/workflows/build.yaml?query=branch%3Amaster
:alt: Build
.. |Codecov| image:: https://codecov.io/gh/xflr6/graphviz/branch/master/graph/badge.svg
Expand Down

0 comments on commit e4cca42

Please sign in to comment.