Skip to content

Commit 90b5557

Browse files
committed
Update CI
1 parent 853398d commit 90b5557

File tree

5 files changed

+23
-28
lines changed

5 files changed

+23
-28
lines changed

.github/workflows/CI.yml

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,49 +16,38 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
version:
19-
- '1.0'
20-
- '1.6'
19+
- 'min'
20+
- 'lts'
2121
- '1'
22-
- 'nightly'
22+
- 'pre'
2323
os:
2424
- ubuntu-latest
25-
arch:
26-
- x64
25+
- windows-latest
26+
- macOS-latest
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v5
2929
- uses: julia-actions/setup-julia@v2
3030
with:
3131
version: ${{ matrix.version }}
32-
arch: ${{ matrix.arch }}
33-
- uses: actions/cache@v4
34-
env:
35-
cache-name: cache-artifacts
36-
with:
37-
path: ~/.julia/artifacts
38-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
39-
restore-keys: |
40-
${{ runner.os }}-test-${{ env.cache-name }}-
41-
${{ runner.os }}-test-
42-
${{ runner.os }}-
32+
- uses: julia-actions/cache@v2
4333
- uses: julia-actions/julia-buildpkg@v1
4434
- uses: julia-actions/julia-runtest@v1
4535
- uses: julia-actions/julia-processcoverage@v1
4636
- uses: codecov/codecov-action@v5
4737
with:
48-
file: lcov.info
38+
files: lcov.info
39+
token: ${{ secrets.CODECOV_TOKEN }}
40+
fail_ci_if_error: true
4941
docs:
5042
name: Documentation
5143
runs-on: ubuntu-latest
5244
steps:
53-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v5
5446
- uses: julia-actions/setup-julia@v2
5547
with:
5648
version: '1'
57-
- run: |
58-
julia --project=docs -e '
59-
using Pkg
60-
Pkg.develop(PackageSpec(path=pwd()))
61-
Pkg.instantiate()'
49+
- uses: julia-actions/cache@v2
50+
- run: julia --project=docs -e 'import Pkg; Pkg.instantiate()'
6251
- run: |
6352
julia --project=docs -e '
6453
using Documenter: doctest

.github/workflows/CompatHelper.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ jobs:
2424
- name: "Run CompatHelper"
2525
run: |
2626
import CompatHelper
27-
CompatHelper.main()
27+
CompatHelper.main(; dirs = ["", "docs"])
2828
shell: julia --color=yes {0}
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31-
# COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
32-
# COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
31+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ Manifest.toml
22
*.jl.cov
33
*.jl.mem
44
.DS_Store
5+
.vscode/

docs/Project.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
[deps]
22
DistributedArrays = "aaf54ef3-cdf8-58ed-94cc-d582ad619b94"
33
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
4+
5+
[compat]
6+
DistributedArrays = "0.6"
7+
Documenter = "1"
8+
9+
[sources.DistributedArrays]
10+
path = ".."

test/REQUIRE

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)