Skip to content

Commit 35a08b0

Browse files
authored
Merge branch 'master' into st/examples--deep-kernel-learning
2 parents 16abb58 + 2f344df commit 35a08b0

File tree

6 files changed

+300
-406
lines changed

6 files changed

+300
-406
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
pull_request:
77
jobs:
88
test:
9-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
9+
name: Julia ${{ matrix.version }} - ${{ matrix.group }}
1010
runs-on: ${{ matrix.os }}
1111
continue-on-error: ${{ matrix.version == 'nightly' }}
1212
strategy:
@@ -18,10 +18,14 @@ jobs:
1818
- 'nightly'
1919
os:
2020
- ubuntu-latest
21-
- macOS-latest
22-
- windows-latest
2321
arch:
2422
- x64
23+
group:
24+
- 'Transform'
25+
- 'BaseKernels'
26+
- 'Kernels'
27+
- 'MultiOutput'
28+
- 'Others'
2529
steps:
2630
- uses: actions/checkout@v2
2731
- uses: julia-actions/setup-julia@v1
@@ -40,10 +44,26 @@ jobs:
4044
${{ runner.os }}-
4145
- uses: julia-actions/julia-buildpkg@v1
4246
- uses: julia-actions/julia-runtest@v1
47+
with:
48+
coverage: ${{ matrix.version == '1' && matrix.os == 'ubuntu-latest' }}
49+
env:
50+
GROUP: ${{ matrix.group }}
4351
- uses: julia-actions/julia-processcoverage@v1
44-
- name: Send coverage
4552
if: matrix.version == '1' && matrix.os == 'ubuntu-latest'
53+
- name: Coveralls parallel
54+
if: matrix.version == '1' && matrix.os == 'ubuntu-latest'
55+
uses: coverallsapp/github-action@master
56+
with:
57+
github-token: ${{ secrets.GITHUB_TOKEN }}
58+
path-to-lcov: ./lcov.info
59+
flag-name: run-${{ matrix.group }}
60+
parallel: true
61+
finish:
62+
needs: test
63+
runs-on: ubuntu-latest
64+
steps:
65+
- name: Send coverage
4666
uses: coverallsapp/github-action@master
4767
with:
48-
github-token: ${{ secrets.GITHUB_TOKEN }}
49-
path-to-lcov: ./lcov.info
68+
github-token: ${{ secrets.github_token }}
69+
parallel-finished: true

docs/literate.jl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Pkg.activate(EXAMPLEPATH)
1313
Pkg.instantiate()
1414
using Literate: Literate
1515

16-
# Add link to nbviewer below the first heading of level 1
1716
function preprocess(content)
17+
# Add link to nbviewer below the first heading of level 1
1818
sub = SubstitutionString(
1919
"""
2020
#md # ```@meta
@@ -35,7 +35,12 @@ function preprocess(content)
3535
#
3636
""",
3737
)
38-
return replace(content, r"^# # [^\n]*"m => sub; count=1)
38+
content = replace(content, r"^# # [^\n]*"m => sub; count=1)
39+
40+
# remove VSCode `##` block delimiter lines
41+
content = replace(content, r"^##$."ms => "")
42+
43+
return content
3944
end
4045

4146
# Convert to markdown and notebook

0 commit comments

Comments
 (0)