Skip to content

Examples

Examples #184

Triggered via pull request October 20, 2024 06:49
@fverdugofverdugo
synchronize #122
examples
Status Failure
Total duration 13m 29s
Artifacts

CI.yml

on: pull_request
Matrix: examples
Matrix: test
All Tests and Examples
0s
All Tests and Examples
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 6 warnings, and 1 notice
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L44
failed to run `@example` block in src/examples/problem_types.md:23-50 ```@example problem_types import GalerkinToolkit as GT import ForwardDiff import GLMakie using LinearAlgebra domain = (0,1,0,1) cells = (10,10) mesh = GT.cartesian_mesh(domain,cells;simplexify=true) dirichlet_tag = "dirichlet" GT.label_boundary_faces!(mesh;physical_name=dirichlet_tag) Ω = GT.interior(mesh) Γd = GT.boundary(mesh;physical_names=[dirichlet_tag]) k = 1 V = GT.lagrange_space(Ω,k;dirichlet_boundary=Γd) uhd = GT.dirichlet_field(Float64,V) g = GT.analytical_field(x->0,Ω) f = GT.analytical_field(x->1,Ω) GT.interpolate_dirichlet!(g,uhd) dΩ = GT.measure(Ω,2*k) gradient(u) = x->ForwardDiff.gradient(u,x) ∇(u,x) = GT.call(gradient,u)(x) a(u,v) = GT.∫( x->∇(u,x)⋅∇(v,x), dΩ) l(v) = GT.∫( x->v(x)*f(x), dΩ) x,A,b = GT.linear_problem(uhd,a,l) x .= A\b uh = GT.solution_field(uhd,x) GLMakie.plot(Ω;color=uh,strokecolor=:black) ``` exception = The following 1 direct dependency failed to precompile: GLMakie Failed to precompile GLMakie [e9467ef8-e4e7-5192-8a1a-b1aee30e663a] to "/home/runner/.julia/compiled/v1.11/GLMakie/jl_npXoNy". ┌ Warning: OpenGL/GLFW wasn't loaded correctly or couldn't be initialized. │ This likely means, you're on a headless server without having OpenGL support setup correctly. │ Have a look at the troubleshooting section in the readme: │ https://github.com/MakieOrg/Makie.jl/tree/master/GLMakie#troubleshooting-opengl. └ @ GLMakie ~/.julia/packages/GLMakie/JHrMq/src/gl_backend.jl:4 ERROR: LoadError: InitError: Exception[GLFW.GLFWError(65550, "X11: The DISPLAY environment variable is missing"), ErrorException("glfwInit failed")] Stacktrace: [1] __init__() @ GLFW ~/.julia/packages/GLFW/wmoTL/src/GLFW.jl:35 [2] run_module_init(mod::Module, i::Int64) @ Base ./loading.jl:1336 [3] register_restored_modules(sv::Core.SimpleVector, pkg::Base.PkgId, path::String) @ Base ./loading.jl:1324 [4] _include_from_serialized(pkg::Base.PkgId, path::String, ocachepath::String, depmods::Vector{Any}, ignore_native::Nothing; register::Bool) @ Base ./loading.jl:1213 [5] _include_from_serialized (repeats 2 times) @ ./loading.jl:1169 [inlined] [6] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt128, stalecheck::Bool; reasons::Dict{String, Int64}, DEPOT_PATH::Vector{String}) @ Base ./loading.jl:1985 [7] _require(pkg::Base.PkgId, env::String) @ Base ./loading.jl:2450 [8] __require_prelocked(uuidkey::Base.PkgId, env::String) @ Base ./loading.jl:2315 [9] #invoke_in_world#3 @ ./essentials.jl:1089 [inlined] [10] invoke_in_world @ ./essentials.jl:1086 [inlined] [11] �[
Documentation
Process completed with exit code 1.
GalerkinToolkitExamples / Julia 1.10 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
GalerkinToolkitExamples / Julia 1.10 - ubuntu-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Documentation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Documentation
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, julia-actions/setup-julia@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
GalerkinToolkit / Julia 1.10 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
GalerkinToolkit / Julia 1.10 - ubuntu-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3, codecov/codecov-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
[julia-buildpkg] Caching of the julia depot was not detected
Consider using `julia-actions/cache` to speed up runs https://github.com/julia-actions/cache. To ignore, set input `ignore-no-cache: true`