Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 11 additions & 34 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ concurrency:
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
strategy:
fail-fast: false
matrix:
Expand All @@ -22,37 +21,15 @@ jobs:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
files: lcov.info
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
julia-version: ${{ matrix.version }}
julia-arch: ${{ matrix.arch }}
os: ${{ matrix.os }}
secrets: "inherit"
docs:
name: Documentation
runs-on: ubuntu-latest
permissions:
contents: write
statuses: write
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
julia --project=docs -e '
using Documenter: DocMeta, doctest
using OrgMaintenanceScripts
DocMeta.setdocmeta!(OrgMaintenanceScripts, :DocTestSetup, :(using OrgMaintenanceScripts); recursive=true)
doctest(OrgMaintenanceScripts)'
uses: "SciML/.github/.github/workflows/documentation.yml@v1"
with:
coverage: false
secrets: "inherit"
18 changes: 18 additions & 0 deletions .github/workflows/Downgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Downgrade
on:
push:
branches:
- main
tags: ['*']
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
jobs:
downgrade:
name: Downgrade
uses: "SciML/.github/.github/workflows/downgrade.yml@v1"
with:
julia-version: "lts"
skip: "Pkg,TOML"
secrets: "inherit"
8 changes: 2 additions & 6 deletions .github/workflows/FormatCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,5 @@ on:

jobs:
runic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: fredrikekre/runic-action@v1
with:
version: '1'
uses: "SciML/.github/.github/workflows/runic.yml@v1"
secrets: "inherit"
9 changes: 9 additions & 0 deletions .github/workflows/SpellCheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Spell Check

on: [pull_request]

jobs:
typos-check:
name: Spell Check with Typos
uses: "SciML/.github/.github/workflows/spellcheck.yml@v1"
secrets: "inherit"
6 changes: 4 additions & 2 deletions test/jet_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ using JET
@testset "Version bumping functions" begin
# Test bump_minor_version type stability
@test_opt target_modules = (OrgMaintenanceScripts,) OrgMaintenanceScripts.bump_minor_version(
"1.0.0")
"1.0.0"
)
end

@testset "Struct constructors" begin
Expand All @@ -59,7 +60,8 @@ using JET
checks = OrgMaintenanceScripts.VersionCheck[]
# Test the IO method directly for type stability
@test_opt target_modules = (OrgMaintenanceScripts,) OrgMaintenanceScripts.print_version_check_summary(
devnull, checks)
devnull, checks
)

mktempdir() do tmpdir
output_file = joinpath(tmpdir, "output.jl")
Expand Down
Loading