mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 00:20:08 +01:00
Python v3.14 -- October 7th * https://www.python.org/download/pre-releases * https://www.python.org/downloads/release/python-3140rc3 PR-URL: https://github.com/nodejs/node/pull/59983 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com> Reviewed-By: Stewart X Addison <sxa@redhat.com>
71 lines
1.9 KiB
YAML
71 lines
1.9 KiB
YAML
name: Test internet
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: 5 0 * * *
|
|
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
paths:
|
|
- .github/workflows/test-internet.yml
|
|
- test/internet/**
|
|
- internal/dns/**
|
|
- lib/dns.js
|
|
- lib/net.js
|
|
push:
|
|
branches:
|
|
- main
|
|
- canary
|
|
- v[0-9]+.x-staging
|
|
- v[0-9]+.x
|
|
paths:
|
|
- .github/workflows/test-internet.yml
|
|
- test/internet/**
|
|
- internal/dns/**
|
|
- lib/dns.js
|
|
- lib/net.js
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
PYTHON_VERSION: '3.14'
|
|
FLAKY_TESTS: keep_retrying
|
|
CLANG_VERSION: '19'
|
|
CC: sccache clang-19
|
|
CXX: sccache clang++-19
|
|
SCCACHE_GHA_ENABLED: 'true'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test-internet:
|
|
if: github.event_name == 'schedule' && github.repository == 'nodejs/node' || github.event.pull_request.draft == false
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
with:
|
|
persist-credentials: false
|
|
- name: Install Clang ${{ env.CLANG_VERSION }}
|
|
uses: ./.github/actions/install-clang
|
|
with:
|
|
clang-version: ${{ env.CLANG_VERSION }}
|
|
- name: Set up Python ${{ env.PYTHON_VERSION }}
|
|
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
with:
|
|
python-version: ${{ env.PYTHON_VERSION }}
|
|
allow-prereleases: true
|
|
- name: Set up sccache
|
|
uses: Mozilla-Actions/sccache-action@7d986dd989559c6ecdb630a3fd2557667be217ad # v0.0.9
|
|
with:
|
|
version: v0.10.0
|
|
- name: Environment Information
|
|
run: npx envinfo
|
|
- name: Build
|
|
run: make build-ci -j4 V=1 CONFIG_FLAGS="--error-on-warn"
|
|
- name: Test Internet
|
|
run: make test-internet -j4 V=1;
|