Skip to content

Commit ac1c9b3

Browse files
JSOTemplate workflowdpo
JSOTemplate workflow
authored andcommitted
[skip ci] :bot: Template compliance update
1 parent 8a4bba3 commit ac1c9b3

File tree

7 files changed

+101
-73
lines changed

7 files changed

+101
-73
lines changed

.JuliaFormatter.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ whitespace_typedefs = true
44
whitespace_ops_in_indices = true
55
remove_extra_newlines = true
66
annotate_untyped_fields_with_any = false
7-
normalize_line_endings = "unix"
7+
normalize_line_endings = "unix"

.github/workflows/CI.yml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
version:
13+
- '1.6'
14+
- '1'
15+
- 'nightly'
16+
os:
17+
- ubuntu-latest
18+
arch:
19+
- x64
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: julia-actions/setup-julia@v1
23+
with:
24+
version: ${{ matrix.version }}
25+
arch: ${{ matrix.arch }}
26+
- uses: actions/cache@v1
27+
env:
28+
cache-name: cache-artifacts
29+
with:
30+
path: ~/.julia/artifacts
31+
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
32+
restore-keys: |
33+
${{ runner.os }}-test-${{ env.cache-name }}-
34+
${{ runner.os }}-test-
35+
${{ runner.os }}-
36+
- uses: julia-actions/julia-buildpkg@v1
37+
- uses: julia-actions/julia-runtest@v1
38+
- uses: julia-actions/julia-processcoverage@v1
39+
- uses: codecov/codecov-action@v1
40+
with:
41+
file: lcov.info
42+
docs:
43+
name: Documentation
44+
runs-on: ubuntu-latest
45+
steps:
46+
- uses: actions/checkout@v2
47+
- uses: julia-actions/setup-julia@v1
48+
with:
49+
version: '1'
50+
- run: |
51+
julia --project=docs -e '
52+
using Pkg
53+
Pkg.develop(PackageSpec(path=pwd()))
54+
Pkg.instantiate()'
55+
- run: |
56+
julia --project=docs -e '
57+
using Documenter: DocMeta, doctest
58+
using LinearOperators
59+
DocMeta.setdocmeta!(LinearOperators, :DocTestSetup, :(using LinearOperators); recursive=true)
60+
doctest(LinearOperators)'
61+
- run: julia --project=docs docs/make.jl
62+
env:
63+
JULIA_PKG_SERVER: ""
64+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/CompatHelper.yml

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# CompatHelper v3.5.0
12
name: CompatHelper
23
on:
34
schedule:
@@ -42,3 +43,4 @@ jobs:
4243
env:
4344
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4445
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
46+
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}

.github/workflows/format_pr.yml renamed to .github/workflows/Formatter.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# https://github.com/julia-actions/julia-format/blob/master/workflows/format_pr.yml
2-
name: format-pr
1+
name: Formatter
2+
3+
# Modified from https://github.com/julia-actions/julia-format/blob/master/workflows/format_pr.yml
34
on:
45
push:
56
branches:
@@ -29,4 +30,4 @@ jobs:
2930
- name: Check outputs
3031
run: |
3132
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
32-
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
33+
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"

.github/workflows/Register.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Register Package
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
version:
6+
description: Version to register or component to bump
7+
required: true
8+
jobs:
9+
register:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: julia-actions/RegisterAction@latest
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/TagBot.yml

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
name: TagBot
2-
on:
3-
issue_comment:
4-
types:
5-
- created
6-
workflow_dispatch:
7-
jobs:
8-
TagBot:
9-
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10-
runs-on: ubuntu-latest
11-
steps:
12-
- uses: JuliaRegistries/TagBot@v1
13-
with:
14-
token: ${{ secrets.GITHUB_TOKEN }}
15-
ssh: ${{ secrets.DOCUMENTER_KEY }}
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
workflow_dispatch:
7+
jobs:
8+
TagBot:
9+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: JuliaRegistries/TagBot@v1
13+
with:
14+
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/ci.yml

-54
This file was deleted.

0 commit comments

Comments
 (0)