Skip to content

Commit e34de43

Browse files
Merge pull request #178 from fingolfin/mh/ci
2 parents 93cd69a + 5ea95c6 commit e34de43

File tree

4 files changed

+21
-24
lines changed

4 files changed

+21
-24
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
12
version: 2
23
updates:
34
- package-ecosystem: "github-actions"
4-
directory: "/"
5+
directory: "/" # Location of package manifests
56
schedule:
6-
interval: "daily"
7-
open-pull-requests-limit: 1
7+
interval: "weekly"

.github/workflows/TagBot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
types:
55
- created
66
workflow_dispatch:
7+
inputs:
8+
lookback:
9+
default: 3
10+
permissions:
11+
contents: write
712
jobs:
813
TagBot:
914
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'

.github/workflows/ci.yml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,44 +10,36 @@ on:
1010
- cron: '0 0 * * 1' # runs 00:00 UTC on every Monday
1111
jobs:
1212
test:
13-
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
13+
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
1414
runs-on: ${{ matrix.os }}
1515
strategy:
1616
fail-fast: false
1717
matrix:
1818
version:
1919
- '1.0'
20+
- 'lts'
2021
- '1'
2122
- 'nightly'
2223
os:
2324
- ubuntu-latest
24-
- windows-latest
25-
- macos-latest
26-
arch:
27-
- x64
25+
include:
26+
- os: windows-latest
27+
version: '1'
28+
- os: macos-latest
29+
version: '1'
2830
steps:
2931
- uses: actions/checkout@v5
3032
- uses: julia-actions/setup-julia@v2
3133
with:
3234
version: ${{ matrix.version }}
33-
arch: ${{ matrix.arch }}
3435
show-versioninfo: true
35-
- uses: actions/cache@v4
36-
env:
37-
cache-name: cache-artifacts
38-
with:
39-
path: ~/.julia/artifacts
40-
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
41-
restore-keys: |
42-
${{ runner.os }}-test-${{ env.cache-name }}-
43-
${{ runner.os }}-test-
44-
${{ runner.os }}-
45-
- uses: julia-actions/julia-runtest@latest
36+
- uses: julia-actions/cache@v2
37+
- uses: julia-actions/julia-runtest@v1
4638
continue-on-error: ${{ matrix.version == 'nightly' }}
4739
- uses: julia-actions/julia-processcoverage@v1
4840
- uses: codecov/codecov-action@v5
4941
with:
50-
file: lcov.info
42+
token: ${{ secrets.CODECOV_TOKEN }}
5143

5244
docs:
5345
name: Documentation
@@ -56,7 +48,7 @@ jobs:
5648
- uses: actions/checkout@v5
5749
- uses: julia-actions/setup-julia@v2
5850
with:
59-
version: '1.6'
51+
version: 'lts'
6052
- run: |
6153
julia --project=docs -e '
6254
using Pkg

test/tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ end
4040
# Its signature is kwarg_decl(m::Method, kwtype::DataType). The second argument
4141
# should be the type of the kwsorter from the corresponding MethodTable.
4242
@test isa(methods(M.j_1), Base.MethodList)
43-
get_mt(func) = VERSION v"1.13.0-DEV.647" ? Core.GlobalMethods : methods(func).mt
43+
get_mt(func) = VERSION v"1.12" ? Core.methodtable : methods(func).mt
4444
local mt = get_mt(M.j_1)
4545
@test isa(mt, Core.MethodTable)
4646
if Base.fieldindex(Core.MethodTable, :kwsorter, false) > 0
@@ -83,7 +83,7 @@ end
8383
DSE.format(IMPORTS, buf, doc)
8484
str = String(take!(buf))
8585
@test occursin("\n - `Base`\n", str)
86-
if VERSION < v"1.13-DEV"
86+
if VERSION < v"1.12"
8787
@test occursin("\n - `Core`\n", str)
8888
end
8989

0 commit comments

Comments
 (0)