mirror of
https://github.com/nodejs/node.git
synced 2024-11-28 22:46:31 +01:00
cfd4c43a1e
PR-URL: https://github.com/nodejs/node/pull/45191 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
name: Test internet
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: 5 0 * * *
|
|
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
paths: [test/internet/**]
|
|
push:
|
|
branches:
|
|
- main
|
|
- canary
|
|
- v[0-9]+.x-staging
|
|
- v[0-9]+.x
|
|
paths: [test/internet/**]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
PYTHON_VERSION: '3.11'
|
|
FLAKY_TESTS: keep_retrying
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test-internet:
|
|
if: github.repository == 'nodejs/node' || github.event_name != 'schedule'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
persist-credentials: false
|
|
- name: Set up Python ${{ env.PYTHON_VERSION }}
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ env.PYTHON_VERSION }}
|
|
- name: Environment Information
|
|
run: npx envinfo
|
|
- name: Build
|
|
run: make build-ci -j2 V=1 CONFIG_FLAGS="--error-on-warn"
|
|
- name: Test Internet
|
|
run: make test-internet -j2 V=1;
|