Skip to content

Commit

Permalink
Merge pull request #27 from ArnoStrouwen/ci
Browse files Browse the repository at this point in the history
Julia 1.10 maintenance
  • Loading branch information
ChrisRackauckas authored Dec 30, 2023
2 parents 033c56a + 2a52698 commit 218089c
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 9 deletions.
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- Core
version:
- '1'
- '1.6'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/Downgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Downgrade
on:
pull_request:
branches:
- master
paths-ignore:
- 'docs/**'
push:
branches:
- master
paths-ignore:
- 'docs/**'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['1']
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- uses: cjdoris/julia-downgrade-compat-action@v1
# if: ${{ matrix.version == '1.6' }}
with:
skip: Pkg,TOML
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
2 changes: 1 addition & 1 deletion .github/workflows/Downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
GROUP: ${{ matrix.package.group }}
strategy:
matrix:
julia-version: [1,1.6]
julia-version: [1]
os: [ubuntu-latest]
package:
- {user: SciML, repo: OrdinaryDiffEq.jl, group: InterfaceI}
Expand Down
9 changes: 7 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,15 @@ authors = ["Chris Rackauckas <accounts@chrisrackauckas.com>"]
version = "0.2.5"

[compat]
julia = "1.6"
Aqua = "0.8"
SafeTestsets = "0.1"
Test = "1"
julia = "1.10"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"

[targets]
test = ["Test"]
test = ["Aqua", "SafeTestsets", "Test"]
11 changes: 11 additions & 0 deletions test/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using CommonSolve, Aqua
@testset "Aqua" begin
Aqua.find_persistent_tasks_deps(CommonSolve)
Aqua.test_ambiguities(CommonSolve, recursive = false)
Aqua.test_deps_compat(CommonSolve)
Aqua.test_piracies(CommonSolve)
Aqua.test_project_extras(CommonSolve)
Aqua.test_stale_deps(CommonSolve)
Aqua.test_unbound_args(CommonSolve)
Aqua.test_undefined_exports(CommonSolve)
end
7 changes: 2 additions & 5 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using CommonSolve
using Test
using SafeTestsets

@testset "CommonSolve.jl" begin
# Write your own tests here.
end
@time @safetestset "Quality Assurance" begin include("qa.jl") end

0 comments on commit 218089c

Please sign in to comment.