Skip to content

Commit d25b75c

Browse files
authored
Modify CI workflow to test Julia pre-release (#62)
* Modify CI workflow to test Julia pre-release * Update incompressible elasticity tutorial with failed code
1 parent 05e1141 commit d25b75c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
version: ['1.11', '1']
23+
version: ['1.11', '1', 'pre'] # 'lts' not supported as public is used
2424
os: ['ubuntu-latest']
2525
include:
2626
- os: windows-latest
@@ -70,3 +70,4 @@ jobs:
7070
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
7171
GKSwstype: '100'
7272
run: julia --project=docs --color=yes docs/make.jl
73+

docs/src/literate_tutorials/incompressible_elasticity.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ function solve(;ν, ipu, ipp)
112112
u = Symmetric(K) \ f; # Solve the equation system
113113

114114
## Export the results
115-
filename = "cook_" * (isa(ipu, Lagrange{2,RefTetrahedron,1}) ? "linear" : "quadratic") *
115+
filename = "cook_" * (Ferrite.getorder(ipu) == 1 ? "linear" : "quadratic") *
116116
"_linear"
117117
VTKGridFile(filename, dh) do vtk
118118
write_solution(vtk, dh, u)

0 commit comments

Comments
 (0)