-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from SciML/adtypes1
ADTypes v1.0 support updates
- Loading branch information
Showing
13 changed files
with
374 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: IntegrationTest | ||
on: | ||
push: | ||
branches: [master] | ||
tags: [v*] | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
name: ${{ matrix.package.repo }}/${{ matrix.package.group }}/${{ matrix.julia-version }} | ||
runs-on: ${{ matrix.os }} | ||
env: | ||
GROUP: ${{ matrix.package.group }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
julia-version: [1] | ||
os: [ubuntu-latest] | ||
package: | ||
- {user: SciML, repo: Optimization.jl, group: Optimization} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: julia-actions/setup-julia@v2 | ||
with: | ||
version: ${{ matrix.julia-version }} | ||
arch: x64 | ||
- uses: julia-actions/julia-buildpkg@latest | ||
- name: Clone Downstream | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ matrix.package.user }}/${{ matrix.package.repo }} | ||
path: downstream | ||
- name: Load this and run the downstream tests | ||
shell: julia --color=yes --project=downstream {0} | ||
run: | | ||
using Pkg | ||
# force it to use this PR's version of the package | ||
Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps | ||
Pkg.update() | ||
Pkg.test(coverage=true) # resolver may fail with test time deps | ||
- uses: julia-actions/julia-processcoverage@v1 | ||
- uses: codecov/codecov-action@v4 | ||
with: | ||
file: lcov.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "OptimizationBase" | ||
uuid = "bca83a33-5cc9-4baa-983d-23429ab6bcbb" | ||
authors = ["Vaibhav Dixit <[email protected]> and contributors"] | ||
version = "1.0.0" | ||
version = "1.0.1" | ||
|
||
[deps] | ||
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" | ||
|
@@ -35,10 +35,10 @@ OptimizationTrackerExt = "Tracker" | |
OptimizationZygoteExt = "Zygote" | ||
|
||
[compat] | ||
ADTypes = "0.2.5, 1" | ||
ADTypes = "1" | ||
ArrayInterface = "7.6" | ||
DocStringExtensions = "0.9" | ||
Enzyme = "0.11.11, 0.12" | ||
Enzyme = "0.11.11, =0.12.6" | ||
FiniteDiff = "2.12" | ||
ForwardDiff = "0.10.26" | ||
LinearAlgebra = "1.9, 1.10" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.