Skip to content

Commit 5e234fe

Browse files
committed
Update CI
1 parent be601a0 commit 5e234fe

File tree

1 file changed

+21
-55
lines changed

1 file changed

+21
-55
lines changed

.github/workflows/CI.yml

Lines changed: 21 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -6,73 +6,39 @@ on:
66
- 'main'
77
- 'release-'
88
tags: '*'
9+
paths-ignore:
10+
- 'docs/**'
911
pull_request:
1012
workflow_dispatch:
1113

1214
concurrency:
1315
group: ${{ github.workflow }}-${{ github.ref }}
14-
cancel-in-progress: true
16+
# Cancel intermediate builds: only if it is a pull request build.
17+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
1518

1619
jobs:
17-
test:
18-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
19-
runs-on: ${{ matrix.os }}
20+
tests:
21+
name: "Tests"
2022
strategy:
2123
fail-fast: false
2224
matrix:
2325
version:
24-
- '1.8' # LTS version
25-
- '1' # automatically expands to the latest stable 1.x release of Julia
26+
- 'lts'
27+
- '1'
28+
group:
29+
- ctmrg
30+
- boundarymps
31+
- examples
32+
- utility
2633
os:
2734
- ubuntu-latest
2835
- macOS-latest
2936
- windows-latest
30-
arch:
31-
- x64
32-
# - x86 # exclude x86 tests - not enough memory and already failing on TensorKt
33-
# exclude:
34-
# - os: macOS-latest
35-
# arch: x86
36-
# - os: windows-latest
37-
# arch: x86
38-
steps:
39-
- uses: actions/checkout@v4
40-
- uses: julia-actions/setup-julia@v2
41-
with:
42-
version: ${{ matrix.version }}
43-
arch: ${{ matrix.arch }}
44-
- uses: julia-actions/cache@v2
45-
- uses: julia-actions/julia-buildpkg@latest
46-
- uses: julia-actions/julia-runtest@latest
47-
env:
48-
JULIA_NUM_THREADS: 4
49-
- uses: julia-actions/julia-processcoverage@v1
50-
- uses: codecov/codecov-action@v5
51-
env:
52-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
53-
with:
54-
file: lcov.info
55-
test-nightly:
56-
needs: test
57-
name: Julia nightly - ${{ matrix.os }} - ${{ matrix.arch }}
58-
runs-on: ${{ matrix.os }}
59-
strategy:
60-
fail-fast: false
61-
matrix:
62-
version:
63-
- 'nightly'
64-
os:
65-
- ubuntu-latest
66-
arch:
67-
- x64
68-
steps:
69-
- uses: actions/checkout@v4
70-
- uses: julia-actions/setup-julia@v2
71-
with:
72-
version: ${{ matrix.version }}
73-
arch: ${{ matrix.arch }}
74-
- uses: julia-actions/cache@v2
75-
- uses: julia-actions/julia-buildpkg@latest
76-
- uses: julia-actions/julia-runtest@latest
77-
env:
78-
JULIA_NUM_THREADS: 4
37+
uses: "lkdvos/SCIMLactions/blob/master/.github/workflows/tests.yml"
38+
with:
39+
group: "${{ matrix.group }}"
40+
julia-version: "${{ matrix.version }}"
41+
os: "${{ matrix.os }}"
42+
secrets:
43+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)