Skip to content

Commit

Permalink
Merge pull request #6 from gaelforget/gf03
Browse files Browse the repository at this point in the history
Gf03
  • Loading branch information
gaelforget authored Oct 14, 2022
2 parents 8566c23 + 57ed464 commit 5dca239
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 11 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/ci.yml
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 }}
4 changes: 2 additions & 2 deletions Project.toml
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"
Expand Down
12 changes: 6 additions & 6 deletions README.md
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._
6 changes: 3 additions & 3 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand All @@ -39,5 +39,5 @@ makedocs(;
)

deploydocs(;
repo="github.com/gaelforget/PhysicalOceanography.jl",
repo="github.com/JuliaOcean/PhysicalOceanography.jl",
)

0 comments on commit 5dca239

Please sign in to comment.