Skip to content

Commit a394663

Browse files
authored
Merge pull request #159 from jw3126/badges
update ci links in README
2 parents 2095c1e + 5277977 commit a394663

File tree

3 files changed

+22
-12
lines changed

3 files changed

+22
-12
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff 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

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
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
1314
successor, see [Accessors.jl](https://github.com/JuliaObjects/Accessors.jl).
1415

1516
# Usage

test/test_setmacro.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,11 @@ macro test_macro(expr)
6666
end
6767
end
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
7375
end
7476

0 commit comments

Comments
 (0)