summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tox.yml13
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'