-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec66f9e
commit c2ea968
Showing
9 changed files
with
172 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: ci | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- trying | ||
- staging | ||
tags: '*' | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
name: ci ${{ matrix.version }} - ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- '1.4' | ||
- '1.5' | ||
- '1.6.0' | ||
os: | ||
- ubuntu-latest | ||
- macOS-latest | ||
- windows-latest | ||
arch: | ||
- x64 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: ${{ matrix.version }} | ||
arch: ${{ matrix.arch }} | ||
- uses: actions/cache@v1 | ||
env: | ||
cache-name: cache-artifacts | ||
with: | ||
path: ~/.julia/artifacts | ||
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | ||
restore-keys: | | ||
${{ runner.os }}-test-${{ env.cache-name }}- | ||
${{ runner.os }}-test- | ||
${{ runner.os }}- | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- uses: julia-actions/julia-runtest@v1 | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
- uses: codecov/codecov-action@v1 | ||
with: | ||
file: lcov.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- trying | ||
- staging | ||
tags: '*' | ||
pull_request: | ||
|
||
jobs: | ||
docbuild: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@latest | ||
with: | ||
version: 1.6.0 | ||
- name: Install dependencies | ||
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' | ||
- name: Build and deploy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token | ||
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key | ||
run: julia --project=docs/ docs/make.jl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name = "TurbulenceConvection" | ||
uuid = "8e072fc4-01f8-44fb-b9dc-f9336c367e6b" | ||
authors = ["Charles Kawczynski <[email protected]>"] | ||
authors = ["Climate Modeling Alliance"] | ||
version = "0.1.0" | ||
|
||
[deps] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[deps] | ||
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" | ||
DocumenterCitations = "daee34ce-89f3-4625-b898-19384cb65244" | ||
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" | ||
TurbulenceConvection = "8e072fc4-01f8-44fb-b9dc-f9336c367e6b" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# The citation keys have been formatted as: | ||
# Last author name (titlecase), followed by | ||
# (no characters in-between) the year. | ||
@article{Nishizawa2018, | ||
title = {A Surface Flux Scheme Based on the Monin-Obukhov Similarity for Finite Volume Models}, | ||
author = {Nishizawa, S and Kitamura, Y}, | ||
journal = {Journal of Advances in Modeling Earth Systems}, | ||
volume = {10}, | ||
number = {12}, | ||
doi = {10.1029/2018MS001534}, | ||
pages = {3159--3175}, | ||
year = {2018}, | ||
publisher = {Wiley Online Library} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
using TurbulenceConvection, Documenter | ||
using DocumenterCitations | ||
|
||
bib = CitationBibliography(joinpath(@__DIR__, "bibliography.bib")) | ||
|
||
#! format: off | ||
pages = Any[ | ||
"Home" => "index.md", | ||
] | ||
|
||
mathengine = MathJax(Dict( | ||
:TeX => Dict( | ||
:equationNumbers => Dict(:autoNumber => "AMS"), | ||
:Macros => Dict(), | ||
), | ||
)) | ||
|
||
format = Documenter.HTML( | ||
prettyurls = get(ENV, "CI", nothing) == "true", | ||
mathengine = mathengine, | ||
collapselevel = 1, | ||
) | ||
#! format: on | ||
|
||
makedocs( | ||
bib, | ||
sitename = "TurbulenceConvection.jl", | ||
strict = true, | ||
format = format, | ||
checkdocs = :exports, | ||
clean = true, | ||
doctest = true, | ||
modules = [TurbulenceConvection], | ||
pages = pages, | ||
) | ||
|
||
deploydocs( | ||
repo = "github.com/CliMA/TurbulenceConvection.jl.git", | ||
target = "build", | ||
push_preview = true, | ||
devbranch = "main", | ||
forcepush = true, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# TurbulenceConvection.jl | ||
|