Skip to content

Commit cd06f8c

Browse files
committed
remove codecov
1 parent 7825e81 commit cd06f8c

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

.github/workflows/CI.yml

-5
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,3 @@ jobs:
3333
arch: ${{ matrix.arch }}
3434
- uses: julia-actions/julia-buildpkg@latest
3535
- uses: julia-actions/julia-runtest@latest
36-
- uses: julia-actions/julia-processcoverage@v1
37-
- uses: codecov/codecov-action@v1
38-
with:
39-
file: lcov.info
40-
fail_ci_if_error: true

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaObjects.github.io/ConstructionBase.jl/stable)
44
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaObjects.github.io/ConstructionBase.jl/dev)
55
[![Build Status](https://github.com/JuliaObjects/ConstructionBase.jl/workflows/CI/badge.svg)](https://github.com/JuliaObjects/ConstructionBase.jl/actions?query=workflow%3ACI)
6-
[![Codecov](https://codecov.io/gh/JuliaObjects/ConstructionBase.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaObjects/ConstructionBase.jl)
76
[![GitHub stars](https://img.shields.io/github/stars/JuliaObjects/ConstructionBase.jl?style=social)](https://github.com/JuliaObjects/ConstructionBase.jl)
87

98
ConstructionBase is a very lightwight package, that provides primitive functions for construction of objects:

src/ConstructionBase.jl

+2-9
Original file line numberDiff line numberDiff line change
@@ -184,20 +184,13 @@ end
184184
setproperties_object(obj, patch::NamedTuple{()}) = obj
185185

186186
function setproperties_object(obj, patch)
187-
check_properties_are_fields_except_old_julia(obj)::Nothing
187+
check_properties_are_fields(obj)
188188
nt = getproperties(obj)
189189
nt_new = merge(nt, patch)
190-
check_patch_properties_exist(nt_new, nt, obj, patch)::Nothing
190+
check_patch_properties_exist(nt_new, nt, obj, patch)
191191
args = Tuple(nt_new) # old julia inference prefers if we wrap in Tuple
192192
constructorof(typeof(obj))(args...)
193193
end
194-
if VERSION < v"1.3"
195-
# on old julia versions check_properties_are_fields
196-
# trips inference of setproperties
197-
check_properties_are_fields_except_old_julia(_) = nothing
198-
else
199-
check_properties_are_fields_except_old_julia(obj) = check_properties_are_fields(obj)
200-
end
201194

202195
include("nonstandard.jl")
203196
include("functions.jl")

0 commit comments

Comments
 (0)