File tree 7 files changed +275
-94
lines changed
7 files changed +275
-94
lines changed Original file line number Diff line number Diff line change 16
16
version :
17
17
- ' 1.0'
18
18
- ' 1'
19
- - ' nightly'
20
19
os :
21
20
- ubuntu-latest
22
21
- macOS-latest
62
61
env :
63
62
PYTHON : ${{ matrix.python }}
64
63
- uses : julia-actions/julia-runtest@v1
64
+ with :
65
+ coverage : ${{ matrix.coverage || false }}
65
66
env :
66
67
PYTHON : ${{ matrix.python }}
67
68
- uses : julia-actions/julia-processcoverage@v1
Original file line number Diff line number Diff line change
1
+ name : JuliaNightly
2
+
3
+ # Nightly Version of Julia. Runs on PRs and pushes to `master`,
4
+ # but seperate workflow to `CI` to avoid failure notifications.
5
+
6
+ on :
7
+ push :
8
+ branches :
9
+ - main
10
+ pull_request :
11
+
12
+ jobs :
13
+ test :
14
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ (matrix.python && 'system Python') || 'conda' }}
15
+ runs-on : ${{ matrix.os }}
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ version :
20
+ - ' nightly'
21
+ os :
22
+ - ubuntu-latest
23
+ - macOS-latest
24
+ - windows-latest
25
+ arch :
26
+ - x64
27
+ python :
28
+ - ' '
29
+ - python
30
+ steps :
31
+ - uses : actions/checkout@v2
32
+ - name : Install python
33
+ uses : actions/setup-python@v2
34
+ with :
35
+ python-version : ' 3.x'
36
+ architecture : ${{ matrix.arch }}
37
+ if : matrix.python
38
+ # Limitation of pip: https://pythonot.github.io/index.html#pip-installation
39
+ - run : python -m pip install cython numpy
40
+ if : matrix.python
41
+ - run : python -m pip install pot
42
+ if : matrix.python
43
+ - uses : julia-actions/setup-julia@v1
44
+ with :
45
+ version : ${{ matrix.version }}
46
+ arch : ${{ matrix.arch }}
47
+ - uses : actions/cache@v1
48
+ env :
49
+ cache-name : cache-artifacts
50
+ with :
51
+ path : ~/.julia/artifacts
52
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
53
+ restore-keys : |
54
+ ${{ runner.os }}-test-${{ env.cache-name }}-
55
+ ${{ runner.os }}-test-
56
+ ${{ runner.os }}-
57
+ - uses : julia-actions/julia-buildpkg@v1
58
+ env :
59
+ PYTHON : ${{ matrix.python }}
60
+ - uses : julia-actions/julia-runtest@v1
61
+ with :
62
+ coverage : ${{ matrix.coverage }}
63
+ env :
64
+ PYTHON : ${{ matrix.python }}
Original file line number Diff line number Diff line change 5
5
[ ![ Stable] ( https://img.shields.io/badge/docs-stable-blue.svg )] ( https://devmotion.github.io/POT.jl/stable )
6
6
[ ![ Dev] ( https://img.shields.io/badge/docs-dev-blue.svg )] ( https://devmotion.github.io/POT.jl/dev )
7
7
[ ![ Build Status] ( https://github.com/devmotion/POT.jl/workflows/CI/badge.svg?branch=main )] ( https://github.com/devmotion/POT.jl/actions?query=workflow%3ACI+branch%3Amain )
8
+ [ ![ Build Status (Julia nightly)] ( https://github.com/devmotion/POT.jl/workflows/JuliaNightly/badge.svg?branch=main )] ( https://github.com/devmotion/POT.jl/actions?query=workflow%3AJuliaNightly+branch%3Amain )
8
9
[ ![ Coverage] ( https://codecov.io/gh/devmotion/POT.jl/branch/main/graph/badge.svg )] ( https://codecov.io/gh/devmotion/POT.jl )
9
10
[ ![ Coverage] ( https://coveralls.io/repos/github/devmotion/POT.jl/badge.svg?branch=main )] ( https://coveralls.io/github/devmotion/POT.jl?branch=main )
10
11
[ ![ Code Style: Blue] ( https://img.shields.io/badge/code%20style-blue-4495d1.svg )] ( https://github.com/invenia/BlueStyle )
Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ makedocs(;
22
22
pages= [" Home" => " index.md" , " api.md" ],
23
23
strict= true ,
24
24
checkdocs= :exports ,
25
+ doctestfilters= [
26
+ r" {([a-zA-Z0-9]+,\s ?)+[a-zA-Z0-9]+}" ,
27
+ r" (Array{[a-zA-Z0-9]+,\s ?1}|Vector{[a-zA-Z0-9]+})" ,
28
+ r" (Array{[a-zA-Z0-9]+,\s ?2}|Matrix{[a-zA-Z0-9]+})" ,
29
+ ],
25
30
)
26
31
27
32
deploydocs (; repo= " github.com/devmotion/POT.jl" , push_preview= true , devbranch= " main" )
You can’t perform that action at this time.
0 commit comments