Skip to content

Commit

Permalink
Merge pull request #101 from ArnoStrouwen/downgrade
Browse files Browse the repository at this point in the history
downgrade CI
  • Loading branch information
ChrisRackauckas authored Dec 26, 2023
2 parents fc12442 + 7ba9a91 commit eab1519
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 23 deletions.
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
18 changes: 4 additions & 14 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ LatticeRules = "73f95e8e-ec14-4e6a-8b18-0d2e271c4e55"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Primes = "27ebfcd6-29c5-5fa9-bf4b-fb8fc14df3ae"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
Sobol = "ed01d8cd-4d21-5b2a-85b4-cc3bdc58bad4"

[weakdeps]
Expand All @@ -22,19 +21,10 @@ QuasiMonteCarloDistributionsExt = "Distributions"
[compat]
Accessors = "0.1"
ConcreteStructs = "0.2"
Distributions = "0.21, 0.22, 0.23, 0.24, 0.25"
Distributions = "0.25"
LatticeRules = "0.0.1"
LinearAlgebra = "1"
LinearAlgebra = "1.9"
Primes = "0.5"
Random = "1"
Requires = "1"
Sobol = "1.3"
Test = "1"
Random = "1.9"
Sobol = "1.5"
julia = "1.9"

[extras]
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
9 changes: 0 additions & 9 deletions src/QuasiMonteCarlo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,6 @@ include("RandomizedQuasiMonteCarlo/shifting.jl")
include("RandomizedQuasiMonteCarlo/scrambling_base_b.jl")
include("RandomizedQuasiMonteCarlo/iterators.jl")

import Requires
@static if !isdefined(Base, :get_extension)
function __init__()
Requires.@require Distributions="31c24e10-a181-5473-b8eb-7969acd0382f" begin
include("../ext/QuasiMonteCarloDistributionsExt.jl")
end
end
end

export SamplingAlgorithm,
GridSample,
SobolSample,
Expand Down
3 changes: 3 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Underscores = "d9a01c3f-67ce-4d8c-9b55-35f6e4050bb1"

[compat]
IntervalArithmetic = "0.21"

0 comments on commit eab1519

Please sign in to comment.