File tree Expand file tree Collapse file tree 5 files changed +70
-273
lines changed Expand file tree Collapse file tree 5 files changed +70
-273
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ pull_request :
4+ branches :
5+ - master
6+ push :
7+ branches :
8+ - master
9+ tags : ' *'
10+ jobs :
11+ test :
12+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
13+ runs-on : ${{ matrix.os }}
14+ continue-on-error : ${{ matrix.version == 'nightly' }}
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ version :
19+ - ' 1.0'
20+ - ' 1'
21+ - ' nightly'
22+ os :
23+ - ubuntu-latest
24+ arch :
25+ - x64
26+ steps :
27+ - uses : actions/checkout@v2
28+ - uses : julia-actions/setup-julia@v1
29+ with :
30+ version : ${{ matrix.version }}
31+ arch : ${{ matrix.arch }}
32+ - uses : actions/cache@v1
33+ env :
34+ cache-name : cache-artifacts
35+ with :
36+ path : ~/.julia/artifacts
37+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
38+ restore-keys : |
39+ ${{ runner.os }}-test-${{ env.cache-name }}-
40+ ${{ runner.os }}-test-
41+ ${{ runner.os }}-
42+ - uses : julia-actions/julia-buildpkg@v1
43+ - uses : julia-actions/julia-runtest@v1
44+ - uses : julia-actions/julia-processcoverage@v1
45+ - uses : codecov/codecov-action@v1
46+ with :
47+ file : lcov.info
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'
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 Documenter: doctest
64+ using ForwardDiff
65+ doctest(ForwardDiff)'
66+ - run : julia --project=docs docs/make.jl
67+ env :
68+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
69+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- [ ![ Build Status ] ( https://travis-ci.org /JuliaDiff/ForwardDiff.jl.svg?branch=master )] ( https://travis-ci.org/JuliaDiff/ForwardDiff.jl ) [ ![ Coverage Status] ( https://coveralls.io/repos/JuliaDiff/ForwardDiff.jl/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/JuliaDiff/ForwardDiff.jl?branch=master )
1+ ![ CI ] ( https://github.com /JuliaDiff/ForwardDiff.jl/workflows/CI/badge.svg ) [ ![ Coverage Status] ( https://coveralls.io/repos/JuliaDiff/ForwardDiff.jl/badge.svg?branch=master&service=github )] ( https://coveralls.io/github/JuliaDiff/ForwardDiff.jl?branch=master )
22
33[ ![ ] ( https://img.shields.io/badge/docs-stable-blue.svg )] ( http://www.juliadiff.org/ForwardDiff.jl/stable )
44[ ![ ] ( https://img.shields.io/badge/docs-latest-blue.svg )] ( http://www.juliadiff.org/ForwardDiff.jl/latest )
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments