From f6baf90a4871c84dda168bbc19a900bb1df7fa89 Mon Sep 17 00:00:00 2001 From: thecoderatekid Date: Thu, 7 Aug 2025 20:40:26 +0000 Subject: [PATCH] Update .gitea/workflows/julia-test.yml --- .gitea/workflows/julia-test.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/julia-test.yml b/.gitea/workflows/julia-test.yml index 845b737..db3b949 100644 --- a/.gitea/workflows/julia-test.yml +++ b/.gitea/workflows/julia-test.yml @@ -10,9 +10,10 @@ jobs: - name: Set up Julia uses: julia-actions/setup-julia@v1 with: - version: '1.10' # stable; 1.9 is fine too + version: '1.10' - name: Install dependencies (if Project.toml exists) + shell: bash run: | if [ -f Project.toml ]; then julia -e 'using Pkg; Pkg.instantiate()' @@ -21,7 +22,9 @@ jobs: fi - name: Run tests or Hello + shell: bash run: | + set -euo pipefail if [ -f Project.toml ]; then # Activate the repo project and run its tests julia -e 'using Pkg; Pkg.activate("."); Pkg.test()' @@ -42,4 +45,4 @@ jobs: println("Hello, Julia!") EOF julia -e 'using Pkg; Pkg.activate("."); Pkg.test()' - fi \ No newline at end of file + fi