Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/Format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Format suggestions
on:
pull_request:
# this argument is not required if you don't use the `suggestion-label` input
types: [opened, reopened, synchronize, labeled, unlabeled]
jobs:
code-style:
runs-on: ubuntu-latest
steps:
- uses: julia-actions/julia-format@v4
with:
version: '1' # Set `version` to '1.0.54' if you need to use JuliaFormatter.jl v1.0.54 (default: '1')
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
docs/build/
.vscode/settings.json
docs/src/tutorial/*.md
docs/Manifest.toml
docs/Manifest.toml
test/Manifest.toml
21 changes: 0 additions & 21 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,7 @@ JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d"

[compat]
Aqua = "0.8"
BenchmarkTools = "1"
Documenter = "1"
Graphs = "1.4.1"
InteractiveUtils = "1"
JLD2 = "0.1.11, 0.2, 0.3, 0.4, 0.5, 0.6"
JuliaFormatter = "1"
MetaGraphs = "0.7, 0.8"
SimpleTraits = "0.9"
Test = "1"
julia = "1.6"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
MetaGraphs = "626554b9-1ddb-594c-aa3c-2596fe9399a5"
SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "BenchmarkTools", "Documenter", "Graphs", "InteractiveUtils", "JuliaFormatter", "MetaGraphs", "SimpleTraits", "Test"]
19 changes: 19 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
MetaGraphs = "626554b9-1ddb-594c-aa3c-2596fe9399a5"
SimpleTraits = "699a6c99-e7fa-54fc-8d76-47d257e15c1d"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
Aqua = "0.8.14"
BenchmarkTools = "1"
Documenter = "1"
Graphs = "1.4.1"
InteractiveUtils = "1"
MetaGraphs = "0.7, 0.8"
SimpleTraits = "0.9"
Test = "1"
4 changes: 0 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Aqua
using Documenter
using Graphs
using JuliaFormatter
using MetaGraphsNext
using Test

Expand All @@ -11,9 +10,6 @@ DocMeta.setdocmeta!(MetaGraphsNext, :DocTestSetup, :(using MetaGraphsNext); recu
@testset verbose = true "Code quality (Aqua.jl)" begin
Aqua.test_all(MetaGraphsNext; ambiguities=false)
end
@testset verbose = false "Code formatting (JuliaFormatter.jl)" begin
@test format(MetaGraphsNext; verbose=false, overwrite=false)
end
@testset verbose = false "Doctests (Documenter.jl)" begin
doctest(MetaGraphsNext)
end
Expand Down
Loading