diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 197c140d..a2ad6c5f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,8 +4,12 @@ updates: - package-ecosystem: "julia" # See documentation for possible values directory: "/" # Location of package manifests schedule: - interval: "weekly" + interval: "daily" + groups: + all-julia-packages: + patterns: + - "*" - package-ecosystem: "github-actions" directory: "/" # Location of package manifests schedule: - interval: "monthly" + interval: "weekly" diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index f69d8bc7..7ee6d63a 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -9,20 +9,5 @@ on: jobs: build: - permissions: - contents: write - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: julia-actions/setup-julia@v3 - with: - version: '1' - - uses: julia-actions/cache@v3 - - name: Install dependencies - shell: julia --color=yes --project=docs/ {0} - run: 'using Pkg; Pkg.instantiate()' - - name: Build and deploy - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} - run: julia --color=yes --project=docs/ docs/make.jl + uses: "SciML/.github/.github/workflows/documentation.yml@v1" + secrets: "inherit" diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml index 648ff79f..a9908c58 100644 --- a/.github/workflows/Downgrade.yml +++ b/.github/workflows/Downgrade.yml @@ -11,21 +11,10 @@ on: paths-ignore: - 'docs/**' jobs: - test: - runs-on: ubuntu-latest - strategy: - matrix: - downgrade_mode: ['alldeps'] - julia-version: ['1.10'] - steps: - - uses: actions/checkout@v6 - - uses: julia-actions/setup-julia@v3 - with: - version: ${{ matrix.julia-version }} - - uses: julia-actions/julia-downgrade-compat@v2 - with: - skip: Pkg,TOML - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 - with: - ALLOW_RERESOLVE: false + downgrade: + uses: "SciML/.github/.github/workflows/downgrade.yml@v1" + with: + julia-version: "1.10" + skip: "Pkg,TOML" + allow-reresolve: false + secrets: "inherit" diff --git a/.github/workflows/FormatCheck.yml b/.github/workflows/FormatCheck.yml deleted file mode 100644 index ee667cef..00000000 --- a/.github/workflows/FormatCheck.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: format-check - -on: - push: - branches: - - 'master' - - 'main' - - 'release-' - tags: '*' - pull_request: - -jobs: - runic: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: julia-actions/setup-julia@v3 - with: - version: '1' - - uses: fredrikekre/runic-action@v1 - with: - version: '1' diff --git a/.github/workflows/Runic.yml b/.github/workflows/Runic.yml new file mode 100644 index 00000000..8dad7911 --- /dev/null +++ b/.github/workflows/Runic.yml @@ -0,0 +1,15 @@ +name: format-check + +on: + push: + branches: + - 'master' + - 'main' + - 'release-' + tags: '*' + pull_request: + +jobs: + runic: + uses: "SciML/.github/.github/workflows/runic.yml@v1" + secrets: "inherit" diff --git a/.github/workflows/SpellCheck.yml b/.github/workflows/SpellCheck.yml new file mode 100644 index 00000000..434bc767 --- /dev/null +++ b/.github/workflows/SpellCheck.yml @@ -0,0 +1,8 @@ +name: Spell Check + +on: [pull_request] + +jobs: + typos-check: + uses: "SciML/.github/.github/workflows/spellcheck.yml@v1" + secrets: "inherit" diff --git a/_typos.toml b/_typos.toml new file mode 100644 index 00000000..3d744b3e --- /dev/null +++ b/_typos.toml @@ -0,0 +1,4 @@ +[default.extend-words] +# Polynomial / rational coefficient notation: [p0...pn, q1...qn] +pn = "pn" +qn = "qn" diff --git a/test/stats.jl b/test/stats.jl index 4303a814..9a00b853 100644 --- a/test/stats.jl +++ b/test/stats.jl @@ -131,7 +131,7 @@ @test all(stderror(sol_rat) .> 0) end - @testset "Explcit API Coverage (ExpSum)" begin + @testset "Explicit API Coverage (ExpSum)" begin # Test ExpSumFitAlgorithm explicitly to ensure jacobian works # y = k + p*exp(lam*x) # Truth: k=1, p=2, lam=-0.5