Skip to content

Commit

Permalink
fix: consider only the first two characters for the image_tag on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NickChecan committed Oct 10, 2024
1 parent 97c03f0 commit df61320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: Build, Test and Deploy

on: [ push, workflow_dispatch ]

jobs:
Expand Down
3 changes: 2 additions & 1 deletion test/sap-cap-javascript-node/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
set -euo pipefail
source "$(dirname "$0")/../test-utils/harness.sh"

# setup "sap-cap-javascript-node" "22-bookworm"
setup "sap-cap-javascript-node" "$VARIANT"

run_test "Node version is correct" "node -v" "$IMAGE_TAG"
run_test "Node version is correct" "node -v" "${IMAGE_TAG:0:2}"
run_test "NPM is present" "npm --help" "npm <command>"
run_test "CloudFoundry CLI is present" "cf --version" "cf version 8"
run_test "CAP Development Toolkit is present" "cds version" "@cap-js/asyncapi"
Expand Down

0 comments on commit df61320

Please sign in to comment.