Update .gitea/workflows/julia-test.yml
Some checks failed
CI Demo / build (push) Successful in 4s
Docker Test / docker-ops (push) Successful in 5s
.NET Test / dotnet-test (push) Failing after 17s
Go Test / go-test (push) Failing after 5s
Java Test / java-hello (push) Successful in 33s
Julia Test / julia-test (push) Failing after 4s
Node.js Test / nodejs-test (push) Has been cancelled
Kotlin Test / kotlin-hello (push) Has been cancelled
Notebook Test / nb-test (push) Has been cancelled
PHP Test / php-test (push) Has been cancelled
Python Test / python-hello (push) Has been cancelled
R Test / r-cmdcheck (push) Has been cancelled
Rust Test / rust-test (push) Has been cancelled
Scala Test / scala-test (push) Has been cancelled
Swift Test / swift-hello (push) Has been cancelled
Some checks failed
CI Demo / build (push) Successful in 4s
Docker Test / docker-ops (push) Successful in 5s
.NET Test / dotnet-test (push) Failing after 17s
Go Test / go-test (push) Failing after 5s
Java Test / java-hello (push) Successful in 33s
Julia Test / julia-test (push) Failing after 4s
Node.js Test / nodejs-test (push) Has been cancelled
Kotlin Test / kotlin-hello (push) Has been cancelled
Notebook Test / nb-test (push) Has been cancelled
PHP Test / php-test (push) Has been cancelled
Python Test / python-hello (push) Has been cancelled
R Test / r-cmdcheck (push) Has been cancelled
Rust Test / rust-test (push) Has been cancelled
Scala Test / scala-test (push) Has been cancelled
Swift Test / swift-hello (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
fi
|
||||
|
Reference in New Issue
Block a user