diff options
author | Rich Trott <rtrott@gmail.com> | 2021-09-14 03:00:00 +0300 |
---|---|---|
committer | Node.js GitHub Bot <github-bot@iojs.org> | 2021-09-17 01:42:53 +0300 |
commit | 3decfa75d203f5d49e6bfa47423310fb54636cb8 (patch) | |
tree | f64a5200eb4f03106c65b66f7f28562951d6088e /.github | |
parent | eb44d19a18c7d45771d89a30e70d82c604ce69b1 (diff) |
build: run modified internet tests on GitHub Actions
If internet tests are modified in a pull request, run the internet tests
in GitHub Actions.
PR-URL: https://github.com/nodejs/node/pull/40100
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/test-internet.yml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/.github/workflows/test-internet.yml b/.github/workflows/test-internet.yml index 0a78842ad95..4ef4c42c147 100644 --- a/.github/workflows/test-internet.yml +++ b/.github/workflows/test-internet.yml @@ -3,7 +3,21 @@ name: test-internet on: workflow_dispatch: schedule: - - cron: "5 0 * * *" + - cron: 5 0 * * * + +pull_request: + types: [opened, synchronize, reopened, ready_for_review] + paths: + - test/internet/** + push: + branches: + - master + - main + - canary + - v[0-9]+.x-staging + - v[0-9]+.x + paths: + - test/internet/** env: PYTHON_VERSION: 3.9 |