Skip to content

Commit

Permalink
Add tests to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbasquensmunoz committed Aug 23, 2024
1 parent 42d3e34 commit b4a5cab
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,28 @@ on:
pull_request:

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.10'
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1

build:
permissions:
actions: write
Expand Down
7 changes: 7 additions & 0 deletions docs/src/tutorial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,10 @@ containers = initialize(options)
#
# The result is saved in
containers.X

# Each column in `containers.X` contains the results for a time step.
# In each column, the first ``2 N_b`` correspond to the fluid temperatures. In particular,
# the odd entries `containers.X[1:2:2Nb, :]` are the inlet temperatures, while the even entries `containers.X[2:2:2Nb, :]`
# are the outlet temperatures of each borehole.
# The next ``Nb`` values `containers.X[2Nb+1:3Nb, :]` are the borehole wall temperatures.
# The last ``Nb`` values `containers.X[3Nb+1:4Nb, :]` are the heat extraction of each borehole.
8 changes: 7 additions & 1 deletion docs/src/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,10 @@ The result is saved in

````
containers.X
````
````

Each column in `containers.X` contains the results for a time step.
In each column, the first ``2 N_b`` correspond to the fluid temperatures. In particular,
the odd entries `containers.X[1:2:2Nb, :]` are the inlet temperatures, while the even entries `containers.X[2:2:2Nb, :]` are the outlet temperatures of each borehole.
The next ``N_b`` values `containers.X[2Nb+1:3Nb, :]` are the borehole wall temperatures.
The last ``N_b`` values `containers.X[3Nb+1:4Nb, :]` are the heat extraction of each borehole.

0 comments on commit b4a5cab

Please sign in to comment.