Skip to content

Commit 43ff0ee

Browse files
committed
Merge branch 'main' into dependabot/github_actions/codecov/codecov-action-5
2 parents d8fe12e + e1a0137 commit 43ff0ee

File tree

5 files changed

+26
-9
lines changed

5 files changed

+26
-9
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
matrix:
2525
version:
2626
- '1.11'
27-
- 'pre'
27+
- '1'
2828
os:
2929
- ubuntu-latest
3030
arch:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
/Manifest*.toml
55
/docs/Manifest*.toml
66
/docs/build/
7+
.vscode

Project.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
name = "DecisionFocusedLearningAlgorithms"
22
uuid = "46d52364-bc3b-4fac-a992-eb1d3ef2de15"
33
authors = ["Members of JuliaDecisionFocusedLearning and contributors"]
4-
version = "1.0.0-DEV"
4+
version = "0.0.1"
5+
6+
[deps]
57

68
[compat]
79
julia = "1.11"
810

911
[extras]
1012
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
1113
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
14+
JuliaFormatter = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
1215
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1316

1417
[targets]
15-
test = ["Aqua", "JET", "Test"]
18+
test = ["Aqua", "JET", "JuliaFormatter", "Test"]

docs/make.jl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
using DecisionFocusedLearningAlgorithms
22
using Documenter
33

4-
DocMeta.setdocmeta!(DecisionFocusedLearningAlgorithms, :DocTestSetup, :(using DecisionFocusedLearningAlgorithms); recursive=true)
4+
DocMeta.setdocmeta!(
5+
DecisionFocusedLearningAlgorithms,
6+
:DocTestSetup,
7+
:(using DecisionFocusedLearningAlgorithms);
8+
recursive=true,
9+
)
510

611
makedocs(;
712
modules=[DecisionFocusedLearningAlgorithms],
@@ -12,9 +17,7 @@ makedocs(;
1217
edit_link="main",
1318
assets=String[],
1419
),
15-
pages=[
16-
"Home" => "index.md",
17-
],
20+
pages=["Home" => "index.md"],
1821
)
1922

2023
deploydocs(;

test/runtests.jl

Lines changed: 12 additions & 2 deletions
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
11-
JET.test_package(DecisionFocusedLearningAlgorithms; target_defined_modules = true)
16+
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)