mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 7.0.0 to 7.1.0. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/fb8b3582c8e4def4969c97caa2f19720cb33a72f...0b35c9ecc4f0529d0eb674914510c22f85b196b4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> PR-URL: https://github.com/nodejs/node/pull/66103 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
107 lines
2.8 KiB
YAML
107 lines
2.8 KiB
YAML
name: Coverage Windows
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
paths-ignore:
|
|
- '**.md'
|
|
- '**.nix'
|
|
- eslint.config.mjs
|
|
- '**/eslint.config_partial.mjs'
|
|
- android-configure
|
|
- android-configure.py
|
|
- android-patches/**
|
|
- benchmarks/**
|
|
- doc/**
|
|
- pyproject.yml
|
|
- tsconfig.json
|
|
- test/internet/**
|
|
- tools/actions/**
|
|
- tools/bootstrap/**
|
|
- tools/dep_updaters/**
|
|
- tools/doc/**
|
|
- tools/eslint-rules/**
|
|
- tools/eslint/**
|
|
- tools/lint-md/**
|
|
- tools/nix/**
|
|
- typings/**
|
|
- .**
|
|
- '!.github/workflows/coverage-windows.yml'
|
|
push:
|
|
branches:
|
|
- main
|
|
paths-ignore:
|
|
- '**.md'
|
|
- '**.nix'
|
|
- eslint.config.mjs
|
|
- '**/eslint.config_partial.mjs'
|
|
- android-configure
|
|
- android-configure.py
|
|
- android-patches/**
|
|
- benchmarks/**
|
|
- doc/**
|
|
- pyproject.yml
|
|
- tsconfig.json
|
|
- test/internet/**
|
|
- tools/actions/**
|
|
- tools/bootstrap/**
|
|
- tools/dep_updaters/**
|
|
- tools/doc/**
|
|
- tools/eslint-rules/**
|
|
- tools/eslint/**
|
|
- tools/lint-md/**
|
|
- tools/nix/**
|
|
- typings/**
|
|
- .**
|
|
- '!.github/workflows/coverage-windows.yml'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
PYTHON_VERSION: '3.14'
|
|
FLAKY_TESTS: keep_retrying
|
|
RUSTC_VERSION: '1.88'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
coverage-windows:
|
|
if: github.event.pull_request.draft == false
|
|
runs-on: windows-2025
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- name: Set up Python ${{ env.PYTHON_VERSION }}
|
|
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
with:
|
|
python-version: ${{ env.PYTHON_VERSION }}
|
|
allow-prereleases: true
|
|
- name: Install deps
|
|
run: choco install nasm
|
|
- name: Install Rust ${{ env.RUSTC_VERSION }}
|
|
run: |
|
|
rustup override set "$RUSTC_VERSION"
|
|
rustup --version
|
|
- name: Build
|
|
run: ./vcbuild.bat clang-cl v8temporal
|
|
# TODO(bcoe): investigate tests that fail with coverage enabled
|
|
# on Windows.
|
|
- name: Test
|
|
run: ./vcbuild.bat noprojgen nobuild test-ci-js; node -e 'process.exit(0)'
|
|
env:
|
|
NODE_V8_COVERAGE: ./coverage/tmp
|
|
- name: Report
|
|
run: npx c8 report
|
|
env:
|
|
NODE_OPTIONS: --max-old-space-size=8192
|
|
- name: Clean tmp
|
|
run: npx rimraf ./coverage/tmp
|
|
- name: Upload
|
|
uses: codecov/codecov-action@0b35c9ecc4f0529d0eb674914510c22f85b196b4 # v7.1.0
|
|
with:
|
|
directory: ./coverage
|