diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..5c422e08 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Run tests + run: | + ./src/scripts/test.sh diff --git a/src/scripts/test.sh b/src/scripts/test.sh new file mode 100755 index 00000000..4a6c04fc --- /dev/null +++ b/src/scripts/test.sh @@ -0,0 +1,5 @@ +#!/bin/bash +set -ex +SCRIPT_FOLDER=$(dirname "${0}") +WORKSPACE_FOLDER=$(readlink -e "${SCRIPT_FOLDER}/../../") +echo "$WORKSPACE_FOLDER"