-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from gaelforget/gf03
Gf03
- Loading branch information
Showing
4 changed files
with
78 additions
and
11 deletions.
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,67 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- master | ||
tags: '*' | ||
pull_request: | ||
concurrency: | ||
# Skip intermediate builds: always. | ||
# Cancel intermediate builds: only if it is a pull request build. | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | ||
jobs: | ||
test: | ||
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
version: | ||
- '1.3' | ||
- '1' | ||
- 'nightly' | ||
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: julia-actions/cache@v1 | ||
- uses: julia-actions/julia-buildpkg@v1 | ||
- run: | | ||
julia --project=test -e ' | ||
using Pkg | ||
Pkg.instantiate() | ||
' | ||
- uses: julia-actions/julia-runtest@v1 | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
- uses: codecov/codecov-action@v2 | ||
with: | ||
files: lcov.info | ||
docs: | ||
name: Documentation | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: julia-actions/setup-julia@v1 | ||
with: | ||
version: '1' | ||
- run: | | ||
julia --project=docs -e ' | ||
using Pkg | ||
Pkg.develop(PackageSpec(path=pwd())) | ||
Pkg.instantiate() | ||
' | ||
- run: julia --project=docs docs/make.jl | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |
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,10 +1,10 @@ | ||
name = "PhysicalOceanography" | ||
uuid = "e1a20e90-c40e-46c0-93e3-c2da05da97e3" | ||
authors = ["Gael Forget <[email protected]>"] | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
|
||
[compat] | ||
julia = "1" | ||
julia = "1.3" | ||
|
||
[extras] | ||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" | ||
|
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,13 +1,13 @@ | ||
# PhysicalOceanography | ||
|
||
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://gaelforget.github.io/PhysicalOceanography.jl/stable) | ||
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://gaelforget.github.io/PhysicalOceanography.jl/dev) | ||
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaOcean.github.io/PhysicalOceanography.jl/stable) | ||
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaOcean.github.io/PhysicalOceanography.jl/dev) | ||
[![DOI](https://zenodo.org/badge/277150554.svg)](https://zenodo.org/badge/latestdoi/277150554) | ||
|
||
|
||
[![Build Status](https://github.com/gaelforget/PhysicalOceanography.jl/workflows/CI/badge.svg)](https://github.com/gaelforget/PhysicalOceanography.jl/actions) | ||
[![Build Status](https://travis-ci.org/gaelforget/PhysicalOceanography.jl.svg?branch=master)](https://travis-ci.org/gaelforget/PhysicalOceanography.jl) | ||
[![Coverage](https://codecov.io/gh/gaelforget/PhysicalOceanography.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/gaelforget/PhysicalOceanography.jl) | ||
[![Coverage](https://coveralls.io/repos/github/gaelforget/PhysicalOceanography.jl/badge.svg?branch=master)](https://coveralls.io/github/gaelforget/PhysicalOceanography.jl?branch=master) | ||
[![Build Status](https://github.com/JuliaOcean/PhysicalOceanography.jl/workflows/CI/badge.svg)](https://github.com/JuliaOcean/PhysicalOceanography.jl/actions) | ||
[![Build Status](https://travis-ci.org/JuliaOcean/PhysicalOceanography.jl.svg?branch=master)](https://travis-ci.org/JuliaOcean/PhysicalOceanography.jl) | ||
[![Coverage](https://codecov.io/gh/JuliaOcean/PhysicalOceanography.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaOcean/PhysicalOceanography.jl) | ||
[![Coverage](https://coveralls.io/repos/github/JuliaOcean/PhysicalOceanography.jl/badge.svg?branch=master)](https://coveralls.io/github/JuliaOcean/PhysicalOceanography.jl?branch=master) | ||
|
||
_This package is in early development stage when breaking changes are to be expected._ |
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 |
---|---|---|
|
@@ -25,11 +25,11 @@ pages(folder) = [joinpath(folder, f) for f in readdir(joinpath(src, folder)) if | |
makedocs(; | ||
modules=[PhysicalOceanography], | ||
authors="Gael Forget <[email protected]>", | ||
repo="https://github.com/gaelforget/PhysicalOceanography.jl/blob/{commit}{path}#L{line}", | ||
repo="https://github.com/JuliaOcean/PhysicalOceanography.jl/blob/{commit}{path}#L{line}", | ||
sitename="PhysicalOceanography.jl", | ||
format=Documenter.HTML(; | ||
prettyurls=get(ENV, "CI", "false") == "true", | ||
canonical="https://gaelforget.github.io/PhysicalOceanography.jl", | ||
canonical="https://JuliaOcean.github.io/PhysicalOceanography.jl", | ||
assets=String[], | ||
), | ||
pages=[ | ||
|
@@ -39,5 +39,5 @@ makedocs(; | |
) | ||
|
||
deploydocs(; | ||
repo="github.com/gaelforget/PhysicalOceanography.jl", | ||
repo="github.com/JuliaOcean/PhysicalOceanography.jl", | ||
) |