Skip to content

Commit 10ccf5f

Browse files
committed
Update CI
1 parent 853398d commit 10ccf5f

File tree

5 files changed

+30
-28
lines changed

5 files changed

+30
-28
lines changed

.github/workflows/CI.yml

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,49 +16,45 @@ 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
27+
exclude:
28+
# For Julia 1.6 no aarch64 binary exists
29+
- version: 'min'
30+
os: macOS-latest
31+
include:
32+
- version: 'min'
33+
os: macOS-14 # uses x64
2734
steps:
28-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
2936
- uses: julia-actions/setup-julia@v2
3037
with:
3138
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 }}-
39+
- uses: julia-actions/cache@v2
4340
- uses: julia-actions/julia-buildpkg@v1
4441
- uses: julia-actions/julia-runtest@v1
4542
- uses: julia-actions/julia-processcoverage@v1
4643
- uses: codecov/codecov-action@v5
4744
with:
48-
file: lcov.info
45+
files: lcov.info
46+
token: ${{ secrets.CODECOV_TOKEN }}
47+
fail_ci_if_error: true
4948
docs:
5049
name: Documentation
5150
runs-on: ubuntu-latest
5251
steps:
53-
- uses: actions/checkout@v4
52+
- uses: actions/checkout@v5
5453
- uses: julia-actions/setup-julia@v2
5554
with:
5655
version: '1'
57-
- run: |
58-
julia --project=docs -e '
59-
using Pkg
60-
Pkg.develop(PackageSpec(path=pwd()))
61-
Pkg.instantiate()'
56+
- uses: julia-actions/cache@v2
57+
- run: julia --project=docs -e 'import Pkg; Pkg.instantiate()'
6258
- run: |
6359
julia --project=docs -e '
6460
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)