diff options
author | Waylan Limberg <waylan.limberg@icloud.com> | 2020-05-18 14:39:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-18 14:39:22 -0400 |
commit | 7d978e13c3762bb58005e7f36c0514b64a1c5005 (patch) | |
tree | 1fd43a013351b2ce1a1ee5325a892b94febfa04d /.github/workflows | |
parent | a675c2a10985405ef9fddcc80b1e79d4553b4cdf (diff) | |
download | python-markdown-7d978e13c3762bb58005e7f36c0514b64a1c5005.tar.gz |
Add push trigger to tox workflow. (#968)
* The build button/badge in the README now only points to push events so that an unmerged failing PR doesn't cause the build status to show as 'failing.'
* Restrict node setup to checklinks env.
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/tox.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 2c002a7..c8fbd98 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -1,8 +1,16 @@ -# This workflow will install Python dependencies and run tox tests with a matrix of Python versions. +# This workflow will install dependencies and run tests/linters with a matrix of tox environments. name: CI -on: [pull_request] +on: + push: + branches: + - master + tags: + - '**' + pull_request: + branches: + - '**' jobs: test: @@ -67,6 +75,7 @@ jobs: with: python-version: 3.7 - name: Setup Node + if: ${{ matrix.tox-env == 'checklinks' }} uses: actions/setup-node@v1 with: node-version: '10' |