Skip to content

Commit 5f5d600

Browse files
test(deps): bump @types/node from 25.3.5 to 25.5.0 in the npm group (#1203)
* test(deps): bump @types/node from 25.3.5 to 25.5.0 in the npm group Bumps the npm group with 1 update: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node). Updates `@types/node` from 25.3.5 to 25.5.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 25.5.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm ... Signed-off-by: dependabot[bot] <support@github.com> * ci: don't fail when a single test fails * ci: fix tests --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ron <45816308+rjaegers@users.noreply.github.com>
1 parent 8caec83 commit 5f5d600

File tree

5 files changed

+19
-25
lines changed

5 files changed

+19
-25
lines changed

.github/workflows/wc-integration-test-docker.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ jobs:
5454
persist-credentials: false
5555
- run: echo "arch=$(echo "${RUNNER_ARCH}" | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT"
5656
id: runner-arch
57-
- run: |
58-
set -Eeuo pipefail
59-
bats --formatter junit "${TEST_FILE}" | tee "test-report-${IMAGE_BASENAME}-${RUNNER_ARCH}.xml"
57+
- run: bats --formatter junit "${TEST_FILE}" | tee "test-report-${IMAGE_BASENAME}-${RUNNER_ARCH}.xml"
6058
env:
6159
IMAGE_BASENAME: ${{ inputs.image-basename }}
6260
TEST_FILE: ${{ inputs.test-file }}

.github/workflows/wc-integration-test-podman.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ jobs:
6868
id: runner-arch
6969
- name: Run integration tests using Podman
7070
run: |
71-
set -Eeuo pipefail
72-
7371
podman run --rm \
7472
--network=host \
7573
-v "${WORKSPACE}:${WORKSPACE}" \

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"devDependencies": {
55
"@playwright/test": "^1.58.2",
6-
"@types/node": "^25.3.5",
6+
"@types/node": "^25.5.0",
77
"dotenv": "^17.3.1",
88
"nodemon": "^3.1.14",
99
"otpauth": "^9.5.0",

test/cpp/integration-tests.bats

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ teardown() {
3434

3535
for TOOL in clang clang++ clang-cl clang-format clang-tidy; do
3636
INSTALLED_VERSION=$($TOOL --version | to_semver)
37-
assert_equal_print "$EXPECTED_VERSION" "$INSTALLED_VERSION" "Tool '${TOOL}' version"
37+
assert_equal $INSTALLED_VERSION $EXPECTED_VERSION
3838
done
3939
}
4040

@@ -44,31 +44,38 @@ teardown() {
4444

4545
for TOOL in cc gcc c++ g++ gcov; do
4646
INSTALLED_VERSION=$($TOOL --version | to_semver)
47-
assert_equal_print "$EXPECTED_VERSION" "$INSTALLED_VERSION" "Tool '${TOOL}' version"
47+
assert_equal "$INSTALLED_VERSION" "$EXPECTED_VERSION"
4848
done
4949
}
5050

5151
# bats test_tags=Compatibility,Version,HostGCCArmGCC
5252
@test "host and embedded gcc toolchain versions should be the same major and minor version" {
5353
EXPECTED_MAJOR_MINOR_VERSION=$(get_expected_semver_for g++ | cut -d. -f1,2)
5454
INSTALLED_MAJOR_MINOR_VERSION=$(arm-none-eabi-gcc -dumpfullversion | cut -d. -f1,2)
55-
assert_equal_print "$EXPECTED_MAJOR_MINOR_VERSION" "$INSTALLED_MAJOR_MINOR_VERSION" "Host and ARM GCC major and minor version"
55+
assert_equal "$INSTALLED_MAJOR_MINOR_VERSION" "$EXPECTED_MAJOR_MINOR_VERSION"
5656
}
5757

5858
# bats test_tags=Compatibility,Version,Tools
5959
@test "supporting tool versions should be aligned with expected versions" {
60-
for TOOL in gdb gdb-multiarch git ninja; do
60+
for TOOL in gdb gdb-multiarch; do
61+
EXPECTED_VERSION=$(get_expected_version_for ${TOOL})
62+
INSTALLED_VERSION=$(${TOOL} --version | grep -o '[0-9]\+\.[0-9]\+' | head -n1)
63+
64+
assert_equal "$INSTALLED_VERSION" "$EXPECTED_VERSION"
65+
done
66+
67+
for TOOL in git ninja; do
6168
EXPECTED_VERSION=$(get_expected_semver_for ${TOOL})
6269
INSTALLED_VERSION=$(${TOOL} --version | to_semver)
6370

64-
assert_equal_print "$EXPECTED_VERSION" "$INSTALLED_VERSION" "Tool '${TOOL}' version"
71+
assert_equal "$INSTALLED_VERSION" "$EXPECTED_VERSION"
6572
done
6673

6774
for TOOL in cmake conan; do
6875
EXPECTED_VERSION=$(cat ${BATS_TEST_DIRNAME}/../../.devcontainer/cpp/requirements.in | grep ${TOOL} | to_semver)
6976
INSTALLED_VERSION=$(${TOOL} --version | to_semver)
7077

71-
assert_equal_print "$EXPECTED_VERSION" "$INSTALLED_VERSION" "Tool '${TOOL}' version"
78+
assert_equal "$INSTALLED_VERSION" "$EXPECTED_VERSION"
7279
done
7380
}
7481

@@ -300,12 +307,3 @@ function install_win_sdk_when_ci_set() {
300307
install_win_sdk
301308
fi
302309
}
303-
304-
function assert_equal_print() {
305-
local EXPECTED=${1:?}
306-
local ACTUAL=${2:?}
307-
local MESSAGE=${3:-"Expecting values to be equal"}
308-
309-
echo "# ${MESSAGE} expected(${EXPECTED}) actual(${ACTUAL})" >&3
310-
assert_equal ${ACTUAL} ${EXPECTED}
311-
}

0 commit comments

Comments
 (0)