Skip to content

Commit 6da0da0

Browse files
committed
Update GMT to 1.1.0
Update GMT to 1.1.0. Furthermore, add CODEOWNERS and seperate CI and docs pipeline
1 parent 7adb6a3 commit 6da0da0

File tree

4 files changed

+44
-28
lines changed

4 files changed

+44
-28
lines changed

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Lines starting with '#' are comments.
2+
# More details are here: https://help.github.com/articles/about-codeowners/
3+
4+
# Global codeowners:
5+
@cuda-chen

.github/workflows/ci.yml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
version:
2020
- '1' # Replace this with the minimum Julia version that your package supports.
21-
- '1.6.5'
21+
- '1.9.0'
2222
- 'nightly'
2323
os:
2424
- ubuntu-latest
@@ -44,29 +44,3 @@ jobs:
4444
${{ runner.os }}-
4545
- uses: julia-actions/julia-buildpkg@v1
4646
- uses: julia-actions/julia-runtest@v1
47-
48-
docs:
49-
name: Documentation
50-
runs-on: ubuntu-latest
51-
steps:
52-
- uses: actions/checkout@v2
53-
- uses: julia-actions/setup-julia@v1
54-
with:
55-
version: '1.6'
56-
- run: |
57-
julia --project=docs -e '
58-
using Pkg
59-
Pkg.develop(PackageSpec(path=pwd()))
60-
Pkg.instantiate()'
61-
- run: |
62-
julia --project=docs/ -e '
63-
using SeisPDF
64-
# using Pkg; Pkg.activate("docs")
65-
using Documenter
66-
using Documenter: doctest
67-
DocMeta.setdocmeta!(SeisPDF, :DocTestSetup, :(using SeisPDF); recursive=true)
68-
doctest(SeisPDF)'
69-
- run: julia --project=docs docs/make.jl
70-
env:
71-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/docs.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: docs
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
tags: '*'
11+
12+
jobs:
13+
docs:
14+
name: Documentation
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: julia-actions/setup-julia@v1
19+
with:
20+
version: '1.6'
21+
- run: |
22+
julia --project=docs -e '
23+
using Pkg
24+
Pkg.develop(PackageSpec(path=pwd()))
25+
Pkg.instantiate()'
26+
- run: |
27+
julia --project=docs/ -e '
28+
using SeisPDF
29+
# using Pkg; Pkg.activate("docs")
30+
using Documenter
31+
using Documenter: doctest
32+
DocMeta.setdocmeta!(SeisPDF, :DocTestSetup, :(using SeisPDF); recursive=true)
33+
doctest(SeisPDF)'
34+
- run: julia --project=docs docs/make.jl
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SeisPDF"
22
uuid = "724aefe2-fcf9-4672-ae74-24b98027dbbf"
33
authors = ["Cuda Chen <clh960254@gmail.com>"]
4-
version = "0.0.1"
4+
version = "0.0.2"
55

66
[deps]
77
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"

0 commit comments

Comments
 (0)