Skip to content

Commit 1a7480d

Browse files
Merge pull request #14 from avik-pal/ap/fix_test
Run CI correctly
2 parents c62e60b + 2578bb6 commit 1a7480d

File tree

3 files changed

+37
-32
lines changed

3 files changed

+37
-32
lines changed

.github/workflows/CI.yml

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
version:
14-
- '1.5'
14+
- '1.6'
1515
- '1'
16+
- '~1.10.0-0'
1617
os:
1718
- ubuntu-latest
1819
threads:
@@ -44,28 +45,29 @@ jobs:
4445
- uses: codecov/codecov-action@v3
4546
with:
4647
file: lcov.info
47-
docs:
48-
name: Documentation
49-
runs-on: ubuntu-latest
50-
steps:
51-
- uses: actions/checkout@v4
52-
- uses: julia-actions/setup-julia@v1
53-
with:
54-
version: '1'
55-
- run: |
56-
julia --project=docs -e '
57-
using Pkg
58-
Pkg.develop(PackageSpec(path=pwd()))
59-
Pkg.instantiate()'
60-
env:
61-
JULIA_PKG_SERVER: ""
62-
- run: |
63-
julia --project=docs -e '
64-
using Documenter: DocMeta, doctest
65-
using Polyester
66-
DocMeta.setdocmeta!(Polyester, :DocTestSetup, :(using Polyester); recursive=true)
67-
doctest(Polyester)'
68-
- run: julia --project=docs docs/make.jl
69-
env:
70-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
71-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
48+
49+
# docs:
50+
# name: Documentation
51+
# runs-on: ubuntu-latest
52+
# steps:
53+
# - uses: actions/checkout@v4
54+
# - uses: julia-actions/setup-julia@v1
55+
# with:
56+
# version: '1'
57+
# - run: |
58+
# julia --project=docs -e '
59+
# using Pkg
60+
# Pkg.develop(PackageSpec(path=pwd()))
61+
# Pkg.instantiate()'
62+
# env:
63+
# JULIA_PKG_SERVER: ""
64+
# - run: |
65+
# julia --project=docs -e '
66+
# using Documenter: DocMeta, doctest
67+
# using Polyester
68+
# DocMeta.setdocmeta!(Polyester, :DocTestSetup, :(using Polyester); recursive=true)
69+
# doctest(Polyester)'
70+
# - run: julia --project=docs docs/make.jl
71+
# env:
72+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73+
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

Project.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "PolyesterForwardDiff"
22
uuid = "98d1487c-24ca-40b6-b7ab-df2af84e126b"
33
authors = ["The Chrises"]
4-
version = "0.1.0"
4+
version = "0.1.1"
55

66
[deps]
77
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
@@ -14,6 +14,8 @@ julia = "1.6"
1414

1515
[extras]
1616
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
17+
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
18+
Polyester = "f517fe37-dbe3-4b94-8317-1923a5111588"
1719

1820
[targets]
19-
test = ["Test"]
21+
test = ["Test", "Polyester", "ForwardDiff"]

docs/make.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
using PolyesterForwardDiff
22
using Documenter
33

4-
DocMeta.setdocmeta!(Polyester, :DocTestSetup, :(using PolyesterForwardDiff); recursive=true)
4+
DocMeta.setdocmeta!(PolyesterForwardDiff, :DocTestSetup,
5+
:(using PolyesterForwardDiff); recursive=true)
56

67
makedocs(;
78
modules=[PolyesterForwardDiff],
89
authors="Chris Elrod <[email protected]> and contributors",
9-
repo="https://github.com/JuliaSIMD/PolyesterForwardDiff.jl/blob/{commit}{path}#{line}",
10+
repo="https://github.com/JuliaDiff/PolyesterForwardDiff.jl/blob/{commit}{path}#{line}",
1011
sitename="PolyesterForwardDiff.jl",
1112
format=Documenter.HTML(;
1213
prettyurls=get(ENV, "CI", "false") == "true",
13-
canonical="https://JuliaSIMD.github.io/PolyesterForwardDiff.jl",
14+
canonical="https://juliadiff.org/PolyesterForwardDiff.jl",
1415
assets=String[],
1516
),
1617
pages=[
@@ -19,5 +20,5 @@ makedocs(;
1920
)
2021

2122
deploydocs(;
22-
repo="github.com/JuliaSIMD/PolyesterForwardDiff.jl",
23+
repo="github.com/JuliaDiff/PolyesterForwardDiff.jl",
2324
)

0 commit comments

Comments
 (0)