File tree Expand file tree Collapse file tree 3 files changed +22
-12
lines changed Expand file tree Collapse file tree 3 files changed +22
-12
lines changed Original file line number Diff line number Diff line change @@ -10,21 +10,28 @@ jobs:
1010 fail-fast : false
1111 matrix :
1212 version :
13- - 1.0
14- - 1
13+ - ' 1.0'
14+ - ' 1.3'
15+ - ' 1'
1516 - ' nightly'
1617 os :
1718 - ubuntu-latest
18- # - macOS-latest
19- - windows-latest
2019 arch :
2120 - x64
21+ include :
22+ - os : macOS-latest
23+ version : ' 1'
24+ arch : x64
25+ - os : windows-latest
26+ version : ' 1'
27+ arch : x64
2228 steps :
2329 - uses : actions/checkout@v2
2430 - uses : julia-actions/setup-julia@v1
2531 with :
2632 version : ${{ matrix.version }}
2733 arch : ${{ matrix.arch }}
34+ show-versioninfo : true
2835 - uses : actions/cache@v1
2936 env :
3037 cache-name : cache-artifacts
Original file line number Diff line number Diff line change 11# Setfield
22
3- [ ![ Build Status] ( https://travis-ci.org/jw3126/Setfield.jl.svg?branch=master )] ( https://travis-ci.org/jw3126/Setfield.jl )
3+ [ ![ DocStable] ( https://img.shields.io/badge/docs-stable-blue.svg )] ( https://juliaobjects.github.io/Setfield.jl/stable/intro )
4+ [ ![ DocDev] ( https://img.shields.io/badge/docs-dev-blue.svg )] ( https://juliaobjects.github.io/Setfield.jl/dev/intro )
5+ ![ CI] ( https://github.com/jw3126/Setfield.jl/workflows/CI/badge.svg )
46[ ![ codecov.io] ( https://codecov.io/github/jw3126/Setfield.jl/coverage.svg?branch=master )] ( http://codecov.io/github/jw3126/Setfield.jl?branch=master )
5- [ ![ ] ( https://img.shields.io/badge/docs-stable-blue.svg )] ( https://jw3126.github.io/Setfield.jl/stable/intro )
6- [ ![ ] ( https://img.shields.io/badge/docs-dev-blue.svg )] ( https://jw3126.github.io/Setfield.jl/dev/intro )
77
8- Update deeply nested immutable structs.
8+
9+ Update deeply nested immutable structs.
910
1011# Lifecycle
1112
12- We plan to maintain ` Setfield.jl ` for a long time (written 2020-09-21). We will however not add new features. For an experimental stage
13+ We plan to maintain ` Setfield.jl ` for a long time (written 2020-09-21, reinforced 2021-08-01 ). We will however not add new features. For an experimental stage
1314successor, see [ Accessors.jl] ( https://github.com/JuliaObjects/Accessors.jl ) .
1415
1516# Usage
Original file line number Diff line number Diff line change @@ -66,9 +66,11 @@ macro test_macro(expr)
6666 end
6767end
6868
69- @testset " setmacro multiple usage" begin
70- let f = @test_macro (x[end ] = 1 )
71- test_all_inferrable (f, (Vector{Float64}, ))
69+ if VERSION >= v " 1.3"
70+ @testset " setmacro multiple usage" begin
71+ let f = @test_macro (x[end ] = 1 )
72+ test_all_inferrable (f, (Vector{Float64}, ))
73+ end
7274 end
7375end
7476
You can’t perform that action at this time.
0 commit comments