Skip to content

Commit 63b5bc2

Browse files
authored
[CI] Test ADNLPModels.jl on Mac x86_64
Updated CI workflow to include additional OS and architecture options, and upgraded Codecov action version.
1 parent 73fdbfb commit 63b5bc2

File tree

1 file changed

+29
-36
lines changed

1 file changed

+29
-36
lines changed

.github/workflows/CI.yml

Lines changed: 29 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,43 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
types: [opened, synchronize, reopened]
58
jobs:
69
test:
710
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
811
runs-on: ${{ matrix.os }}
12+
continue-on-error: ${{ matrix.allow_failure }}
913
strategy:
1014
fail-fast: false
1115
matrix:
12-
version:
13-
- 'lts'
14-
- '1'
15-
- 'pre'
16-
os:
17-
- ubuntu-latest
18-
arch:
19-
- x64
16+
version: ['lts', '1']
17+
os: [ubuntu-latest, macos-latest, windows-latest, macos-15-intel]
18+
arch: [x64]
19+
allow_failure: [false]
2020
include:
21+
- version: '1'
22+
os: ubuntu-24.04-arm
23+
arch: arm64
24+
allow_failure: false
2125
- version: '1'
2226
os: macos-latest
2327
arch: arm64
2428
allow_failure: false
29+
- version: 'pre'
30+
os: ubuntu-latest
31+
arch: x64
32+
allow_failure: true
33+
- version: 'pre'
34+
os: macos-latest
35+
arch: x64
36+
allow_failure: true
37+
- version: 'pre'
38+
os: windows-latest
39+
arch: x64
40+
allow_failure: true
2541
steps:
2642
- uses: actions/checkout@v4
2743
- uses: julia-actions/setup-julia@v2
@@ -41,30 +57,7 @@ jobs:
4157
- uses: julia-actions/julia-buildpkg@v1
4258
- uses: julia-actions/julia-runtest@v1
4359
- uses: julia-actions/julia-processcoverage@v1
44-
- uses: codecov/codecov-action@v1
60+
- uses: codecov/codecov-action@v5
4561
with:
46-
file: lcov.info
47-
docs:
48-
name: Documentation
49-
runs-on: ubuntu-latest
50-
steps:
51-
- uses: actions/checkout@v4
52-
- uses: julia-actions/setup-julia@v2
53-
with:
54-
version: '1'
55-
- run: |
56-
julia --project=docs -e '
57-
using Pkg
58-
Pkg.develop(PackageSpec(path=pwd()))
59-
Pkg.instantiate()'
60-
- run: |
61-
julia --project=docs -e '
62-
using Documenter: DocMeta, doctest
63-
using ADNLPModels
64-
DocMeta.setdocmeta!(ADNLPModels, :DocTestSetup, :(using ADNLPModels); recursive=true)
65-
doctest(ADNLPModels)'
66-
- run: julia --project=docs docs/make.jl
67-
env:
68-
JULIA_PKG_SERVER: ""
69-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
70-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
62+
files: lcov.info
63+

0 commit comments

Comments
 (0)