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
6 changes: 3 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
directory: "/" # Location of package manifests
schedule:
interval: "daily"
open-pull-requests-limit: 1
interval: "weekly"
5 changes: 5 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
types:
- created
workflow_dispatch:
inputs:
lookback:
default: 3
permissions:
contents: write
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
Expand Down
30 changes: 11 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,44 +10,36 @@ on:
- cron: '0 0 * * 1' # runs 00:00 UTC on every Monday
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.0'
- 'lts'
- '1'
- 'nightly'
os:
- ubuntu-latest
- windows-latest
- macos-latest
Comment on lines -24 to -25
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer if we keep at least just one version of Julia testing on the other platforms. 1 perhaps.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

arch:
- x64
include:
- os: windows-latest
version: '1'
- os: macos-latest
version: '1'
steps:
- uses: actions/checkout@v5
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
show-versioninfo: true
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-runtest@latest
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-runtest@v1
continue-on-error: ${{ matrix.version == 'nightly' }}
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
file: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}

docs:
name: Documentation
Expand All @@ -56,7 +48,7 @@ jobs:
- uses: actions/checkout@v5
- uses: julia-actions/setup-julia@v2
with:
version: '1.6'
version: 'lts'
- run: |
julia --project=docs -e '
using Pkg
Expand Down
4 changes: 2 additions & 2 deletions test/tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ end
# Its signature is kwarg_decl(m::Method, kwtype::DataType). The second argument
# should be the type of the kwsorter from the corresponding MethodTable.
@test isa(methods(M.j_1), Base.MethodList)
get_mt(func) = VERSION ≥ v"1.13.0-DEV.647" ? Core.GlobalMethods : methods(func).mt
get_mt(func) = VERSION ≥ v"1.12" ? Core.methodtable : methods(func).mt
local mt = get_mt(M.j_1)
@test isa(mt, Core.MethodTable)
if Base.fieldindex(Core.MethodTable, :kwsorter, false) > 0
Expand Down Expand Up @@ -83,7 +83,7 @@ end
DSE.format(IMPORTS, buf, doc)
str = String(take!(buf))
@test occursin("\n - `Base`\n", str)
if VERSION < v"1.13-DEV"
if VERSION < v"1.12"
@test occursin("\n - `Core`\n", str)
end

Expand Down
Loading