-
-
Couldn't load subscription status.
- Fork 16
CI improvements #60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
CI improvements #60
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| name: Downgrade | ||
| on: | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| paths-ignore: | ||
| - 'docs/**' | ||
| push: | ||
| branches: | ||
| - main | ||
| paths-ignore: | ||
| - 'docs/**' | ||
| schedule: | ||
| - cron: '53 20 * * 5' | ||
| jobs: | ||
| test: | ||
| runs-on: ${{ matrix.os }} | ||
| env: | ||
| GROUP: ${{ matrix.group }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| group: | ||
| - Core | ||
| version: | ||
| - '1' | ||
| os: | ||
| - ubuntu-latest | ||
| - macos-latest | ||
| - windows-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: julia-actions/setup-julia@v2 | ||
| with: | ||
| version: ${{ matrix.version }} | ||
| - uses: julia-actions/julia-downgrade-compat@v1 | ||
| with: | ||
| skip: Pkg,TOML | ||
| - uses: julia-actions/cache@v2 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| - uses: julia-actions/julia-buildpkg@v1 | ||
| - uses: julia-actions/julia-runtest@v1 | ||
| env: | ||
| GROUP: ${{ matrix.group }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ ADTypesEnzymeCoreExt = "EnzymeCore" | |
| [compat] | ||
| ChainRulesCore = "1.0.2" | ||
| EnzymeCore = "0.5.3,0.6,0.7" | ||
| julia = "1.6" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I need 1.6 support |
||
| julia = "1.10" | ||
|
|
||
| [extras] | ||
| Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,13 +52,11 @@ end | |
| ## Tests | ||
|
|
||
| @testset verbose=true "ADTypes.jl" begin | ||
| if VERSION >= v"1.10" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Essential for tests on 1.6 where JET doesn't work |
||
| @testset "Aqua.jl" begin | ||
| Aqua.test_all(ADTypes; deps_compat = (check_extras = false,)) | ||
| end | ||
| @testset "JET.jl" begin | ||
| JET.test_package(ADTypes, target_defined_modules = true) | ||
| end | ||
| @testset "Aqua.jl" begin | ||
| Aqua.test_all(ADTypes; deps_compat = (check_extras = false,)) | ||
| end | ||
| @testset "JET.jl" begin | ||
| JET.test_package(ADTypes, target_defined_modules = true) | ||
| end | ||
| @testset "Dense" begin | ||
| include("dense.jl") | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ADTypes is compatible with 1.6 so it needs to be tested on 1.6. There are packages outside of SciML that depend on it and want to support 1.6 (first and foremost DifferentiationInterface). I don't approve this change