Skip to content

Commit 6f3b372

Browse files
authored
Run CI also on oldest compatible Julia version and update GH actions (#1090)
* Run CI also on oldest compatible Julia version * Fix codecov upload
1 parent cf5d08f commit 6f3b372

File tree

11 files changed

+80
-244
lines changed

11 files changed

+80
-244
lines changed

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
version: 2
3+
updates:
4+
- package-ecosystem: "github-actions"
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "monthly"

.github/workflows/CI.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
test:
9+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
version:
14+
- "1.6"
15+
- "1"
16+
os:
17+
- ubuntu-latest
18+
- macOS-latest
19+
- windows-latest
20+
arch:
21+
- x64
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: julia-actions/setup-julia@v1
25+
with:
26+
version: ${{ matrix.version }}
27+
arch: ${{ matrix.arch }}
28+
- uses: julia-actions/cache@v1
29+
- uses: julia-actions/julia-buildpkg@v1
30+
- uses: julia-actions/julia-runtest@v1
31+
- uses: julia-actions/julia-processcoverage@v1
32+
- uses: codecov/codecov-action@v4
33+
with:
34+
fail_ci_if_error: true
35+
files: lcov.info
36+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/main.yml renamed to .github/workflows/Docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18-
- uses: julia-actions/setup-julia@latest
18+
- uses: julia-actions/setup-julia@v1
1919
with:
2020
version: '1'
2121
- name: Install dependencies

.github/workflows/JuliaNightly.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: JuliaNightly
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
test:
9+
name: ${{ matrix.os }} - ${{ matrix.arch }}
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
version:
14+
- "nightly"
15+
os:
16+
- ubuntu-latest
17+
- macOS-latest
18+
- windows-latest
19+
arch:
20+
- x64
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: julia-actions/setup-julia@v1
24+
with:
25+
version: ${{ matrix.version }}
26+
arch: ${{ matrix.arch }}
27+
- uses: julia-actions/cache@v1
28+
- uses: julia-actions/julia-buildpkg@v1
29+
- uses: julia-actions/julia-runtest@v1
30+
- uses: julia-actions/julia-processcoverage@v1
31+
- uses: codecov/codecov-action@v4
32+
with:
33+
fail_ci_if_error: true
34+
files: lcov.info
35+
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/linux.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/linux_nightly.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/mac.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/mac_nightly.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/windows.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/windows_nightly.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)