Skip to content

Commit 395ea99

Browse files
Update CI.yml
1 parent ba40486 commit 395ea99

File tree

1 file changed

+31
-21
lines changed

1 file changed

+31
-21
lines changed

.github/workflows/CI.yml

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,46 @@
1-
name: Downgrade
1+
name: CI
22
on:
3-
pull_request:
4-
branches:
5-
- master
6-
paths-ignore:
7-
- 'docs/**'
83
push:
94
branches:
10-
- master
11-
paths-ignore:
12-
- 'docs/**'
5+
- main
6+
tags: ['*']
7+
pull_request:
8+
concurrency:
9+
# Skip intermediate builds: always.
10+
# Cancel intermediate builds: only if it is a pull request build.
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
1313
jobs:
1414
test:
15-
runs-on: ubuntu-latest
15+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
16+
runs-on: ${{ matrix.os }}
1617
strategy:
18+
fail-fast: false
1719
matrix:
18-
group:
19-
- Core
20-
downgrade_mode: ['alldeps']
21-
julia-version: ['1.10']
20+
version:
21+
- 'lts'
22+
- '1'
23+
- 'pre'
24+
os:
25+
- ubuntu-latest
26+
arch:
27+
- x64
2228
steps:
2329
- uses: actions/checkout@v4
2430
- uses: julia-actions/setup-julia@v2
2531
with:
26-
version: ${{ matrix.julia-version }}
27-
- uses: julia-actions/julia-downgrade-compat@v2
28-
# if: ${{ matrix.version == '1.6' }}
32+
version: ${{ matrix.version }}
33+
arch: ${{ matrix.arch }}
34+
- uses: julia-actions/julia-downgrade-compat@v1
35+
if: ${{ matrix.version == '1.6' }}
2936
with:
30-
skip: Pkg,TOML
37+
skip: Pkg, TOML
38+
- uses: julia-actions/cache@v2
3139
- uses: julia-actions/julia-buildpkg@v1
3240
- uses: julia-actions/julia-runtest@v1
41+
- uses: julia-actions/julia-processcoverage@v1
42+
- uses: codecov/codecov-action@v5
3343
with:
34-
ALLOW_RERESOLVE: false
35-
env:
36-
GROUP: ${{ matrix.group }}
44+
files: lcov.info
45+
token: ${{ secrets.CODECOV_TOKEN }}
46+
fail_ci_if_error: false

0 commit comments

Comments
 (0)