Skip to content

Commit 313e5de

Browse files
committed
Merge branch 'develop' into feat/ellipkf
2 parents 8011cfb + e292ce7 commit 313e5de

File tree

12,251 files changed

+1028170
-145160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,251 files changed

+1028170
-145160
lines changed

.github/workflows/ossf_scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
- name: "Run analysis"
7171
# Pin action to full length commit SHA
72-
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
72+
uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
7373
with:
7474
results_file: results.sarif
7575
results_format: sarif

.github/workflows/run_affected_benchmarks.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,12 @@ jobs:
5050

5151
# Define a job for running changed benchmarks...
5252
process:
53-
5453
# Define a display name:
5554
name: 'Run affected benchmarks'
5655

56+
# Only run this job if a pull request does not have a "ci: Skip" label:
57+
if: "${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci: Skip') }}"
58+
5759
# Define the type of virtual host machine:
5860
runs-on: ubuntu-latest
5961

.github/workflows/run_affected_examples.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
# Define a display name:
5252
name: 'Run changed examples'
5353

54+
# Only run this job if a pull request does not have a "ci: Skip" label:
55+
if: "${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci: Skip') }}"
56+
5457
# Define the type of virtual host machine:
5558
runs-on: ubuntu-latest
5659

.github/workflows/run_affected_tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ jobs:
8686
# Define a display name:
8787
name: 'Run affected tests'
8888

89+
# Only run this job if a pull request does not have a "ci: Skip" label:
90+
if: "${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci: Skip') }}"
91+
8992
# Define the type of virtual host machine:
9093
runs-on: ubuntu-latest
9194

.github/workflows/run_tests_coverage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ jobs:
8686
# Define a display name:
8787
name: 'Calculate test coverage for packages'
8888

89+
# Only run this job if a pull request does not have a "ci: Skip" label:
90+
if: "${{ github.event_name != 'pull_request' || !contains(github.event.pull_request.labels.*.name, 'ci: Skip') }}"
91+
8992
# Define the type of virtual host machine:
9093
runs-on: ubuntu-latest
9194

.github/workflows/scripts/lint_package_json_files

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,30 @@ root=$(git rev-parse --show-toplevel)
3232
# Define the path to a utility for linting package.json files:
3333
lint_package_json="${root}/lib/node_modules/@stdlib/_tools/lint/pkg-json/bin/cli"
3434

35+
# Define the path to the package name validation tool:
36+
validate_package_names="${root}/lib/node_modules/@stdlib/_tools/lint/pkg-json-names/bin/cli"
37+
3538
# Define paths to utilities for updating package.json metadata fields:
3639
update_package_json_directories="${root}/lib/node_modules/@stdlib/_tools/package-json/scripts/update_directories"
3740
update_package_json_gypfile="${root}/lib/node_modules/@stdlib/_tools/package-json/scripts/update_gypfile"
3841

3942
# Files to process:
4043
files_to_process="$*"
4144

45+
# Initialize needs_changes flag:
46+
needs_changes=0
47+
4248
# Lint package.json files:
4349
files=$(echo "${files_to_process}" | tr ' ' '\n' | grep 'package\.json$' | grep -v 'datapackage\.json$' | tr '\n' ' ' | sed 's/ $//')
4450
if [ -n "${files}" ]; then
4551
echo "Linting package.json files..."
4652
printf '%s' "${files}" | "${lint_package_json}" --split=" "
53+
54+
echo "Validating package names..."
55+
if ! printf '%s' "${files}" | "${validate_package_names}" --split=" "; then
56+
echo "ERROR: Package name validation failed"
57+
needs_changes=1
58+
fi
4759
else
4860
echo "No package.json files to lint."
4961
fi
@@ -55,8 +67,6 @@ dirs=$(echo "${files_to_process}" | tr ' ' '\n' | \
5567
sort -u)
5668

5769
echo "Checking package.json files in directories: ${dirs}"
58-
59-
needs_changes=0
6070
for dir in ${dirs}; do
6171
echo "Checking package.json in ${dir}..."
6272
package_json="${dir}/package.json"

.github/workflows/scripts/run_tests_coverage

100644100755
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,10 @@ compare_cov() {
144144
main() {
145145
start_heartbeat "${heartbeat_interval}"
146146

147-
# Only keep files which reside in package directories:
148-
changed=$(echo "${changed}" | tr ' ' '\n' | grep '^lib/node_modules/@stdlib') || true
147+
# Only keep files which reside in package directories, but exclude _tools:
148+
changed=$(echo "${changed}" | tr ' ' '\n' | \
149+
grep '^lib/node_modules/@stdlib' | \
150+
grep -v '^lib/node_modules/@stdlib/_tools') || true
149151

150152
# Find unique package directories:
151153
directories=$(echo "${changed}" | tr ' ' '\n' | sed -E 's/\/(benchmark|bin|data|docs|etc|examples|include|lib|scripts|src|test)(\/.*)?\/?$//' | uniq)

.github/workflows/terminal.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,6 @@ jobs:
8888
git_commit_gpgsign: true
8989

9090
# Setup a terminal session:
91-
- name: 'Setup upterm session'
91+
- name: 'Setup tmate session'
9292
# Pin action to full length commit SHA
93-
uses: lhotari/action-upterm@b0357f23233f5ea6d58947c0c402e0631bab7334 # v1.0.0
93+
uses: mxschmitt/action-tmate@7b6a61a73bbb9793cb80ad69b8dd8ac19261834c # v3.2.2

.github/workflows/windows_test_npm_install.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ jobs:
155155
# Install MSYS2:
156156
- name: 'Install MSYS2'
157157
# Pin action to full length commit SHA
158-
uses: msys2/setup-msys2@61f9e5e925871ba6c9e3e8da24ede83ea27fa91f # v2.27.0
158+
uses: msys2/setup-msys2@40677d36a502eb2cf0fb808cc9dec31bf6152638 # v2.28.0
159159
with:
160160
# Set the MSYS system:
161161
msystem: MINGW64
@@ -245,7 +245,7 @@ jobs:
245245
# Install Windows build tools for compiling Node.js native add-ons.
246246
- name: 'Install Windows build tools'
247247
# Pin action to full length commit SHA
248-
uses: crazy-max/ghaction-chocolatey@6828f16489ec8d2968b55066766cb41f0d278f2a # v3.3.0
248+
uses: crazy-max/ghaction-chocolatey@2526f467ccbd337d307fe179959cabbeca0bc8c0 # v3.4.0
249249
with:
250250
args: install -y visualstudio2019buildtools visualstudio2019-workload-vctools
251251
timeout-minutes: 10

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Chinmay Joshi <[email protected]> Chinmay J
5555
5656
Debashis Maharana <[email protected]> DebashisMaharana
5757

58+
Deepak Singh <[email protected]>
59+
5860
Dhruv Arvind Singh <[email protected]> DhruvArvindSingh
5961
Dhruv Arvind Singh <[email protected]> Dhruv/
6062

0 commit comments

Comments
 (0)