diff --git a/.ci/ubuntu/gha-setup.sh b/.ci/ubuntu/gha-setup.sh index 94d171a0..45a3b360 100755 --- a/.ci/ubuntu/gha-setup.sh +++ b/.ci/ubuntu/gha-setup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -o errexit set -o pipefail @@ -21,7 +21,7 @@ if [[ -d $GITHUB_WORKSPACE ]] then echo "[INFO] GITHUB_WORKSPACE is set: '$GITHUB_WORKSPACE'" else - GITHUB_WORKSPACE="$(readlink --canonicalize-existing "$script_dir/../..")" + GITHUB_WORKSPACE="$(cd "$script_dir/../.." && pwd)" echo "[INFO] set GITHUB_WORKSPACE to: '$GITHUB_WORKSPACE'" fi diff --git a/.gitignore b/.gitignore index 19675484..f174fb1d 100644 --- a/.gitignore +++ b/.gitignore @@ -125,3 +125,7 @@ Tests/coverage.* # docs docs/temp/ + +# ci logs +.ci/ubuntu/log/* + diff --git a/README.md b/README.md index d3da7c77..dec956bd 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This library is in early stages of development. It is meant to be used with Rabb ## How to Run -- Start the broker with `./.ci/ubuntu/gha-setup.sh`. Note that this has been tested on Ubuntu 22 with docker. +- Start the broker with `./.ci/ubuntu/gha-setup.sh start`. Note that this has been tested on Ubuntu 22 with docker. - Run the tests with ` dotnet test ./Build.csproj --logger "console;verbosity=detailed" /p:AltCover=true` - Stop RabbitMQ with `./.ci/ubuntu/gha-setup.sh stop`