Skip to content

Commit 83e4045

Browse files
committed
Merge branch 'main' into first-draft
2 parents 8ed6f08 + 338b14a commit 83e4045

File tree

3 files changed

+17
-6
lines changed

3 files changed

+17
-6
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
matrix:
2525
version:
2626
- '1.11'
27-
- 'pre'
27+
- '1'
2828
os:
2929
- ubuntu-latest
3030
arch:
3131
- x64
3232
steps:
33-
- uses: actions/checkout@v4
33+
- uses: actions/checkout@v5
3434
- uses: julia-actions/setup-julia@v2
3535
with:
3636
version: ${{ matrix.version }}
@@ -39,7 +39,7 @@ jobs:
3939
- uses: julia-actions/julia-buildpkg@v1
4040
- uses: julia-actions/julia-runtest@v1
4141
- uses: julia-actions/julia-processcoverage@v1
42-
- uses: codecov/codecov-action@v4
42+
- uses: codecov/codecov-action@v5
4343
with:
4444
files: lcov.info
4545
token: ${{ secrets.CODECOV_TOKEN }}
@@ -52,7 +52,7 @@ jobs:
5252
contents: write
5353
statuses: write
5454
steps:
55-
- uses: actions/checkout@v4
55+
- uses: actions/checkout@v5
5656
- uses: julia-actions/setup-julia@v2
5757
with:
5858
version: '1'

Project.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ julia = "1.11"
2222
[extras]
2323
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
2424
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
25+
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
2526
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2627

2728
[targets]
28-
test = ["Aqua", "JET", "Test"]
29+
test = ["Aqua", "JET", "JuliaFormatter", "Test"]

test/runtests.jl

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,23 @@ using DecisionFocusedLearningAlgorithms
22
using Test
33
using Aqua
44
using JET
5+
using JuliaFormatter
56

67
@testset "DecisionFocusedLearningAlgorithms.jl" begin
78
@testset "Code quality (Aqua.jl)" begin
8-
Aqua.test_all(DecisionFocusedLearningAlgorithms)
9+
Aqua.test_all(
10+
DecisionFocusedLearningAlgorithms;
11+
ambiguities=false,
12+
deps_compat=(check_extras = false),
13+
)
914
end
1015
@testset "Code linting (JET.jl)" begin
1116
JET.test_package(DecisionFocusedLearningAlgorithms; target_defined_modules=true)
1217
end
1318
# Write your tests here.
19+
@testset "Code formatting (JuliaFormatter.jl)" begin
20+
@test JuliaFormatter.format(
21+
DecisionFocusedLearningAlgorithms; verbose=false, overwrite=false
22+
)
23+
end
1424
end

0 commit comments

Comments
 (0)