Skip to content

Commit

Permalink
To check the GitHub runner credential
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaniska244 committed Jan 21, 2025
1 parent 897aba2 commit e10f06b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/actions/smoke-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ set -e
# Run actual test
echo "(*) Running test..."
id_label="test-container=${IMAGE}"
cat /etc/passwd
whoami
devcontainer exec --workspace-folder $(pwd)/src/$IMAGE --id-label ${id_label} /bin/sh -c 'set -e && if [ -f "test-project/test.sh" ]; then cd test-project && if [ "$(id -u)" = "0" ]; then chmod +x test.sh; else sudo chmod +x test.sh; fi && ./test.sh; else ls -a; fi'

echo "(*) Docker image details..."
Expand Down
2 changes: 1 addition & 1 deletion src/universal/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ check "oryx-build-python-result" python3 ./sample/python/src/solve.py
# Install platforms with oryx build tool
check "oryx-install-dotnet-2.1" oryx prep --skip-detection --platforms-and-versions dotnet=2.1.30
check "dotnet-2-installed-by-oryx" ls /opt/dotnet/ | grep 2.1
#check "dotnet-version-on-path-is-2.1.12" dotnet --version | grep 2.1
check "dotnet-version-on-path-is-2.1.12" dotnet --version | grep 2.1

check "oryx-install-nodejs-12.22.11" oryx prep --skip-detection --platforms-and-versions nodejs=12.22.11
check "nodejs-12.22.11-installed-by-oryx" ls /opt/nodejs/ | grep 12.22.11
Expand Down

0 comments on commit e10f06b

Please sign in to comment.