Skip to content

Cleanup DBInterface support #122

Cleanup DBInterface support

Cleanup DBInterface support #122

Triggered via pull request January 17, 2024 21:55
Status Failure
Total duration 1m 10s
Artifacts

blue_style_formatter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
format
Process completed with exit code 1.
format: src/results.jl#L299
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/results.jl:299:-function DBInterface.execute(conn::Connection, query::AbstractString; binary_format=false, kwargs...) src/results.jl:301:+function DBInterface.execute( src/results.jl:302:+ conn::Connection, query::AbstractString; binary_format=false, kwargs... src/results.jl:303:+)
format: test/runtests.jl#L1303
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/runtests.jl:1303:- try test/runtests.jl:1304:- @test LibPQ.num_rows(result) == 1 test/runtests.jl:1305:- @test LibPQ.num_columns(result) == 1 test/runtests.jl:1306:- @test LibPQ.column_types(result)[1] >: typeof(data) test/runtests.jl:1307:- test/runtests.jl:1308:- oid = LibPQ.column_oids(result)[1] test/runtests.jl:1309:- func = result.column_funcs[1] test/runtests.jl:1310:- if binary_format && ( test/runtests.jl:1311:- any(T -> data isa T, binary_not_implemented_types) || test/runtests.jl:1312:- any(occursin.(binary_not_implemented_pgtypes, test_str)) test/runtests.jl:1262:+ test_data = [ test/runtests.jl:1263:+ ("3", Cint(3)), test/runtests.jl:1264:+ ("3::int8", Int64(3)), test/runtests.jl:1265:+ ("3::int4", Int32(3)), test/runtests.jl:1266:+ ("3::int2", Int16(3)), test/runtests.jl:1267:+ ("3::float8", Float64(3)), test/runtests.jl:1268:+ ("3::float4", Float32(3)), test/runtests.jl:1269:+ ("3::oid", LibPQ.Oid(3)), test/runtests.jl:1270:+ ("3::numeric", decimal("3")), test/runtests.jl:1271:+ ("$(BigFloat(pi))::numeric", decimal(BigFloat(pi))), test/runtests.jl:1272:+ ( test/runtests.jl:1273:+ "$(big"4608230166434464229556241992703")::numeric", test/runtests.jl:1274:+ parse(Decimal, "4608230166434464229556241992703"), test/runtests.jl:1275:+ ), test/runtests.jl:1276:+ ("E'\\\\xDEADBEEF'::bytea", hex2bytes("DEADBEEF")), test/runtests.jl:1277:+ ("E'\\\\000'::bytea", UInt8[0o000]), test/runtests.jl:1278:+ ("E'\\\\047'::bytea", UInt8[0o047]), test/runtests.jl:1279:+ ("E'\\''::bytea", UInt8[0o047]), test/runtests.jl:1280:+ ("E'\\\\134'::bytea", UInt8[0o134]), test/runtests.jl:1281:+ ("E'\\\\\\\\'::bytea", UInt8[0o134]), test/runtests.jl:1282:+ ("E'\\\\001'::bytea", UInt8[0o001]), test/runtests.jl:1283:+ ("E'\\\\176'::bytea", UInt8[0o176]), test/runtests.jl:1284:+ ("'hello'::char(10)", "hello"), test/runtests.jl:1285:+ ("'hello '::char(10)", "hello"), test/runtests.jl:1286:+ ("'hello '::varchar(10)", "hello "), test/runtests.jl:1287:+ ("'3'::\"char\"", LibPQ.PQChar('3')), test/runtests.jl:1288:+ ("'t'::bool", true), test/runtests.jl:1289:+ ("'T'::bool", true), test/runtests.jl:1290:+ ("'true'::bool", true), test/runtests.jl:1291:+ ("'TRUE'::bool", true), test/runtests.jl:1292:+ ("'tRuE'::bool", true), test/runtests.jl:1293:+ ("'y'::bool", true), test/runtests.jl:1294:+ ("'YEs'::bool", true), test/runtests.jl:1295:+ ("'on'::bool", true), test/runtests.jl:1296:+ ("1::bool", true), test/runtests.jl:1297:+ ("true", true), test/runtests.jl:1298:+ ("'f'::bool", false), test/runtests.jl:1299:+ ("'F'::bool", false), test/runtests.jl:1
format: test/runtests.jl#L1314
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/runtests.jl:1314:- @test_broken parsed = func(LibPQ.PQValue{oid}(result, 1, 1)) test/runtests.jl:1315:- @test isequal(parsed, data) test/runtests.jl:1316:- @test_broken typeof(parsed) == typeof(data) test/runtests.jl:1317:- @test_broken parsed_no_oid = func(LibPQ.PQValue(result, 1, 1)) test/runtests.jl:1318:- @test_broken isequal(parsed_no_oid, data) test/runtests.jl:1319:- @test_broken typeof(parsed_no_oid) == typeof(data) test/runtests.jl:1320:- else test/runtests.jl:1321:- parsed = func(LibPQ.PQValue{oid}(result, 1, 1)) test/runtests.jl:1322:- @test isequal(parsed, data) test/runtests.jl:1323:- @test typeof(parsed) == typeof(data) test/runtests.jl:1324:- parsed_no_oid = func(LibPQ.PQValue(result, 1, 1)) test/runtests.jl:1325:- @test isequal(parsed_no_oid, data) test/runtests.jl:1326:- @test typeof(parsed_no_oid) == typeof(data) test/runtests.jl:1659:+ test/runtests.jl:1660:+ try test/runtests.jl:1661:+ @test LibPQ.num_rows(result) == 1 test/runtests.jl:1662:+ @test LibPQ.num_columns(result) == 1 test/runtests.jl:1663:+ @test LibPQ.column_types(result)[1] >: typeof(data) test/runtests.jl:1664:+ test/runtests.jl:1665:+ oid = LibPQ.column_oids(result)[1] test/runtests.jl:1666:+ func = result.column_funcs[1] test/runtests.jl:1667:+ if binary_format && ( test/runtests.jl:1668:+ any( test/runtests.jl:1669:+ T -> data isa T, binary_not_implemented_types test/runtests.jl:1670:+ ) || any( test/runtests.jl:1671:+ occursin.( test/runtests.jl:1672:+ binary_not_implemented_pgtypes, test_str test/runtests.jl:1673:+ ), test/runtests.jl:1674:+ ) test/runtests.jl:1675:+ ) test/runtests.jl:1676:+ @test_broken parsed = func( test/runtests.jl:1677:+ LibPQ.PQValue{oid}(result, 1, 1) test/runtests.jl:1678:+ ) test/runtests.jl:1679:+ @test isequal(parsed, data) test/runtests.jl:1680:+ @test_broken typeof(parsed) == typeof(data) test/runtests.jl:1681:+ @test_broken parsed_no_oid = func( test/runtests.jl:1682:+ LibPQ.PQValue(result, 1, 1) test/runtests.jl:1683:+ ) test/runtests.jl:1684:+ @test_broken isequal(parsed_no_oid, data) test/runtests.jl:1685:+ @test_broken typeof(parsed_no_oid) == typeof(data) test/runtests.jl:1686:+ else test/runtests.jl:1687:+ parsed = func(LibPQ.PQValue{oid}(result, 1, 1)) test/runtests.jl:1688:+ @test isequal(parsed, data) test/runtests.jl:1689:+ @test typeof(parsed) == typeof(data) test/runtests.jl:1690:+ parsed_no_oid = func(LibPQ.PQValue(result, 1, 1)) test/runtests.jl:169
format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/