Skip to content

Commit 1e6ce43

Browse files
authored
Update compat, tests and CI (#66)
* Update compat, tests and CI * Update codecov
1 parent 73f7fd0 commit 1e6ce43

File tree

5 files changed

+14
-36
lines changed

5 files changed

+14
-36
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
version:
18-
- '1.6'
19-
- '1.9'
20-
- 'nightly'
18+
- '1.10'
19+
- '1'
20+
- 'pre'
2121
os:
2222
- ubuntu-latest
2323
arch:
2424
- x64
2525
steps:
26-
- uses: actions/checkout@v2
27-
- uses: julia-actions/setup-julia@v1
26+
- uses: actions/checkout@v4
27+
- uses: julia-actions/setup-julia@v2
2828
with:
2929
version: ${{ matrix.version }}
3030
arch: ${{ matrix.arch }}
31-
- uses: actions/cache@v1
31+
- uses: actions/cache@v2
3232
env:
3333
cache-name: cache-artifacts
3434
with:
@@ -41,6 +41,7 @@ jobs:
4141
- uses: julia-actions/julia-buildpkg@v1
4242
- uses: julia-actions/julia-runtest@v1
4343
- uses: julia-actions/julia-processcoverage@v1
44-
- uses: codecov/codecov-action@v1
44+
- uses: codecov/codecov-action@v4
4545
with:
4646
file: lcov.info
47+
token: ${{ secrets.CODECOV_TOKEN }}

Project.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ version = "0.7.0"
55
[deps]
66
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
77
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
8-
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
98
SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d"
109

1110
[weakdeps]
@@ -21,14 +20,16 @@ GraphIOGraphMLExt = "EzXML"
2120
GraphIOLGCompressedExt = "CodecZlib"
2221

2322
[compat]
23+
Aqua = "0.8.9"
2424
CodecZlib = "0.7"
2525
DelimitedFiles = "1"
2626
EzXML = "1"
2727
Graphs = "1.4"
28+
JuliaFormatter = "1.0.62"
2829
ParserCombinator = "2.1"
29-
Requires = "1"
3030
SimpleTraits = "0.9"
31-
julia = "1"
31+
Test = "1"
32+
julia = "1.10"
3233

3334
[extras]
3435
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# GraphIO
22

33
[![Build Status](https://github.com/JuliaGraphs/GraphIO.jl/workflows/CI/badge.svg)](https://github.com/JuliaGraphs/GraphIO.jl/actions?query=workflow%3ACI+branch%3Amaster)
4-
[![codecov.io](http://codecov.io/github/JuliaGraphs/GraphIO.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaGraphs/GraphIO.jl?branch=master)
4+
[![codecov](https://codecov.io/github/JuliaGraphs/GraphIO.jl/graph/badge.svg?token=8Vw9q0ofeT)](https://codecov.io/github/JuliaGraphs/GraphIO.jl)
55
[![Code Style: Blue](https://img.shields.io/badge/code%20style-blue-4495d1.svg)](https://github.com/invenia/BlueStyle)
66
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
77

src/GraphIO.jl

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
module GraphIO
22

3-
@static if !isdefined(Base, :get_extension)
4-
using Requires
5-
end
6-
7-
@static if !isdefined(Base, :get_extension)
8-
function __init__()
9-
@require CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193" begin
10-
include("../ext/GraphIOLGCompressedExt.jl")
11-
end
12-
@require EzXML = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615" begin
13-
include("../ext/GraphIOGEXFExt.jl")
14-
include("../ext/GraphIOGraphMLExt.jl")
15-
end
16-
@require ParserCombinator = "fae87a5f-d1ad-5cf0-8f61-c941e1580b46" begin
17-
include("../ext/GraphIODOTExt.jl")
18-
include("../ext/GraphIOGMLExt.jl")
19-
end
20-
end
21-
end
22-
233
include("CDF/Cdf.jl")
244
include("DOT/Dot.jl")
255
include("Edgelist/Edgelist.jl")

test/runtests.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@ include("graphio.jl")
1515
# write your own tests here
1616
@testset verbose = true "GraphIO" begin
1717
@testset "Code quality" begin
18-
Aqua.test_all(GraphIO; stale_deps=false, project_toml_formatting=false)
19-
Aqua.test_stale_deps(GraphIO; ignore=[:Requires])
20-
if VERSION >= v"1.9"
21-
Aqua.test_project_toml_formatting(GraphIO)
22-
end
18+
Aqua.test_all(GraphIO)
2319
end
2420
@testset "Code formatting" begin
2521
@test JuliaFormatter.format(GraphIO; verbose=false, overwrite=false)

0 commit comments

Comments
 (0)