Skip to content

Commit 202ca13

Browse files
committed
Move JuliaFormatter to action
1 parent 4d4f10e commit 202ca13

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

.github/workflows/Format.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Format suggestions
2+
on:
3+
pull_request:
4+
# this argument is not required if you don't use the `suggestion-label` input
5+
types: [opened, reopened, synchronize, labeled, unlabeled]
6+
jobs:
7+
code-style:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: julia-actions/julia-format@v4
11+
with:
12+
version: '1' # Set `version` to '1.0.54' if you need to use JuliaFormatter.jl v1.0.54 (default: '1')

test/runtests.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using Aqua
22
using Documenter
33
using JET
4-
using JuliaFormatter
54
using SparseMatrixColorings
65
using Test
76

@@ -26,12 +25,6 @@ include("utils.jl")
2625
SparseMatrixColorings; target_modules=(SparseMatrixColorings,)
2726
)
2827
end
29-
# @testset "JuliaFormatter" begin
30-
# TODO: switch to Runic (temporarily deactivated)
31-
# @test JuliaFormatter.format(
32-
# SparseMatrixColorings; verbose=false, overwrite=false
33-
# )
34-
# end
3528
@testset "Doctests" begin
3629
Documenter.doctest(SparseMatrixColorings)
3730
end

0 commit comments

Comments
 (0)