Skip to content

Commit bfde34b

Browse files
cleaunup
1 parent 753e9ca commit bfde34b

File tree

5 files changed

+37
-140
lines changed

5 files changed

+37
-140
lines changed

.github/workflows/CI.yml

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
name: Test
2-
1+
name: CI
32
on:
4-
push:
5-
branches: [master]
6-
tags: [v*]
73
pull_request:
8-
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
9+
tags: '*'
910
jobs:
1011
test:
1112
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -14,7 +15,8 @@ jobs:
1415
fail-fast: false
1516
matrix:
1617
version:
17-
- '1.6'
18+
- '1.6' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'.
19+
- '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
1820
- 'nightly'
1921
os:
2022
- ubuntu-latest
@@ -41,28 +43,5 @@ jobs:
4143
- uses: julia-actions/julia-processcoverage@v1
4244
- uses: codecov/codecov-action@v1
4345
with:
46+
# token: ${{ secrets.CODECOV_TOKEN }}
4447
file: lcov.info
45-
docs:
46-
name: Documentation
47-
runs-on: ubuntu-latest
48-
steps:
49-
- uses: actions/checkout@v2
50-
- uses: julia-actions/setup-julia@v1
51-
with:
52-
version: '1'
53-
- run: |
54-
julia --project=docs -e '
55-
using Pkg
56-
Pkg.develop(PackageSpec(path=pwd()))
57-
Pkg.instantiate()'
58-
- run: |
59-
julia --project=docs -e '
60-
using Documenter: DocMeta, doctest
61-
using GraphNeuralNetworks
62-
DocMeta.setdocmeta!(GraphNeuralNetworks, :DocTestSetup, :(using GraphNeuralNetworks); recursive=true)
63-
doctest(GraphNeuralNetworks)'
64-
- run: julia --project=docs docs/make.jl
65-
env:
66-
JULIA_PKG_SERVER: ""
67-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/docs.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags: '*'
8+
pull_request:
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: julia-actions/setup-julia@latest
16+
with:
17+
version: '1.6'
18+
- name: Install dependencies
19+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
20+
- name: Build and deploy
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
23+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
24+
run: julia --project=docs/ docs/make.jl

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
*.jl.*.cov
22
*.jl.cov
33
*.jl.mem
4-
/Manifest.toml
4+
Manifest.toml
55
/docs/build/

docs/Manifest.toml

Lines changed: 0 additions & 97 deletions
This file was deleted.

docs/make.jl

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,10 @@ DocMeta.setdocmeta!(GraphNeuralNetworks, :DocTestSetup, :(using GraphNeuralNetwo
55

66
makedocs(;
77
modules=[GraphNeuralNetworks],
8-
authors="Carlo Lucibello <[email protected]> and contributors",
9-
repo="https://github.com/CarloLucibello/GraphNeuralNetworks.jl/blob/{commit}{path}#{line}",
10-
sitename="GraphNeuralNetworks.jl",
11-
format=Documenter.HTML(;
12-
prettyurls=get(ENV, "CI", "false") == "true",
13-
canonical="https://CarloLucibello.github.io/GraphNeuralNetworks.jl",
14-
assets=String[],
15-
),
8+
sitename = "GraphNeuralNetworks.jl",
169
pages=[
1710
"Home" => "index.md",
1811
],
1912
)
2013

21-
deploydocs(;
22-
repo="github.com/CarloLucibello/GraphNeuralNetworks.jl",
23-
)
14+
deploydocs(repo="github.com/CarloLucibello/GraphNeuralNetworks.jl.git")

0 commit comments

Comments
 (0)