mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
test-asan and test-macos are very slow and tend to get backed up. While I'm literally waiting hours right now for test-macos to finish so I can land a PR, I'm opening this pull request to have it be skipped when things other than its own workflow file are the only changes in the PR. PR-URL: https://github.com/nodejs/node/pull/40928 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
42 lines
992 B
YAML
42 lines
992 B
YAML
name: test-linux
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- "README.md"
|
|
- .github/**
|
|
- '!.github/workflows/test-linux.yml'
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
- canary
|
|
- v[0-9]+.x-staging
|
|
- v[0-9]+.x
|
|
paths-ignore:
|
|
- "README.md"
|
|
- .github/**
|
|
- '!.github/workflows/test-linux.yml'
|
|
|
|
env:
|
|
PYTHON_VERSION: '3.10'
|
|
FLAKY_TESTS: dontcare
|
|
|
|
jobs:
|
|
test-linux:
|
|
if: github.event.pull_request.draft == false
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Set up Python ${{ env.PYTHON_VERSION }}
|
|
uses: actions/setup-python@v2
|
|
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
|
|
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions"
|