Skip to content

Fix and test undefined exports #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 20, 2022
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
20 changes: 10 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
strategy:
fail-fast: false
matrix:
pkg:
- DiffEqProblemLibrary
- DAEProblemLibrary
- DDEProblemLibrary
- JumpProblemLibrary
- ODEProblemLibrary
- SDEProblemLibrary
project:
- '.'
- lib/DAEProblemLibrary
- lib/DDEProblemLibrary
- lib/JumpProblemLibrary
- lib/ODEProblemLibrary
- lib/SDEProblemLibrary
version:
- '1'
- '1.6'
Expand All @@ -38,13 +38,13 @@ jobs:
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
with:
project: "${{ matrix.pkg == 'DiffEqProblemLibrary' && '.' || format('lib/{0}', matrix.pkg) }}"
project: ${{ matrix.project }}
- uses: julia-actions/julia-runtest@v1
with:
project: "${{ matrix.pkg == 'DiffEqProblemLibrary' && '.' || format('lib/{0}', matrix.pkg) }}"
project: ${{ matrix.project }}
- uses: julia-actions/julia-processcoverage@v1
with:
directories: "${{ matrix.pkg == 'DiffEqProblemLibrary' && 'src' || format('lib/{0}/src', matrix.pkg) }}"
directories: ${{ matrix.project }}/src
- uses: codecov/codecov-action@v3
with:
files: lcov.info
9 changes: 8 additions & 1 deletion lib/DAEProblemLibrary/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,12 @@ DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"

[compat]
Aqua = "0.5"
DiffEqBase = "6"
julia = "1.6"
julia = "1.6"

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

[targets]
test = ["Aqua"]
6 changes: 6 additions & 0 deletions lib/DAEProblemLibrary/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# The test is simply that all of the examples build!
using DAEProblemLibrary

# Check that there are no undefined exports, stale dependencies, etc.
# Ambiguity checks are disabled since tests fail due to ambiguities
# in dependencies
using Aqua
Aqua.test_all(DAEProblemLibrary; ambiguities = false)
11 changes: 9 additions & 2 deletions lib/DDEProblemLibrary/Project.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
name = "DDEProblemLibrary"
uuid = "f42792ee-6ffc-4e2a-ae83-8ee2f22de800"
version = "0.1.0"
version = "0.1.1"

[deps]
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

[compat]
Aqua = "0.5"
DiffEqBase = "6"
julia = "1.6"
julia = "1.6"

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

[targets]
test = ["Aqua"]
12 changes: 8 additions & 4 deletions lib/DDEProblemLibrary/src/DDEProblemLibrary.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ using DiffEqBase
# examples with constant delays
export
# DDEs with 1 constant delay
prob_dde_1delay_ip, prob_dde_1delay_oop, prob_dde_1delay_scalar,
prob_dde_1delay_long_ip, prob_dde_1delay_long_oop, prob_dde_1delay_long_scalar,
prob_dde_constant_1delay_ip, prob_dde_constant_1delay_oop,
prob_dde_constant_1delay_scalar,
prob_dde_constant_1delay_long_ip, prob_dde_constant_1delay_long_oop,
prob_dde_constant_1delay_long_scalar,
# DDEs with 2 constant delays
prob_dde_2delays_ip, prob_dde_2delays_oop, prob_dde_2delays_scalar,
prob_dde_2delays_long_ip, prob_dde_2delays_long_oop, prob_dde_2delays_long_scalar
prob_dde_constant_2delays_ip, prob_dde_constant_2delays_oop,
prob_dde_constant_2delays_scalar,
prob_dde_constant_2delays_long_ip, prob_dde_constant_2delays_long_oop,
prob_dde_constant_2delays_long_scalar

# DDETST problems
export
Expand Down
8 changes: 7 additions & 1 deletion lib/DDEProblemLibrary/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# The test is simply that all of the examples build!
# The main test is simply that all of the examples build!
using DDEProblemLibrary

# Check that there are no undefined exports, stale dependencies, etc.
# Ambiguity checks are disabled since tests fail due to ambiguities
# in dependencies
using Aqua
Aqua.test_all(DDEProblemLibrary; ambiguities = false)
9 changes: 8 additions & 1 deletion lib/JumpProblemLibrary/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ Catalyst = "479239e8-5488-4da2-87a7-35f2df7eef83"
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

[compat]
Aqua = "0.5"
Catalyst = "11, 12"
DiffEqBase = "6"
julia = "1.6"
julia = "1.6"

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

[targets]
test = ["Aqua"]
6 changes: 6 additions & 0 deletions lib/JumpProblemLibrary/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# The test is simply that all of the examples build!
using JumpProblemLibrary

# Check that there are no undefined exports, stale dependencies, etc.
# Ambiguity checks are disabled since tests fail due to ambiguities
# in dependencies
using Aqua
Aqua.test_all(JumpProblemLibrary; ambiguities = false)
7 changes: 7 additions & 0 deletions lib/ODEProblemLibrary/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,15 @@ ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[compat]
Aqua = "0.5"
DiffEqBase = "6"
DiffEqOperators = "4"
Latexify = "0.15"
ModelingToolkit = "7,8"
julia = "1.6"

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

[targets]
test = ["Aqua"]
6 changes: 6 additions & 0 deletions lib/ODEProblemLibrary/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# The test is simply that all of the examples build!
using ODEProblemLibrary

# Check that there are no undefined exports, stale dependencies, etc.
# Ambiguity checks are disabled since tests fail due to ambiguities
# in dependencies
using Aqua
Aqua.test_all(ODEProblemLibrary; ambiguities = false)
7 changes: 7 additions & 0 deletions lib/SDEProblemLibrary/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"

[compat]
Aqua = "0.5"
Catalyst = "11, 12"
DiffEqBase = "6"
julia = "1.6"

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

[targets]
test = ["Aqua"]
6 changes: 6 additions & 0 deletions lib/SDEProblemLibrary/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# The test is simply that all of the examples build!
using SDEProblemLibrary

# Check that there are no undefined exports, stale dependencies, etc.
# Ambiguity checks are disabled since tests fail due to ambiguities
# in dependencies
using Aqua
Aqua.test_all(SDEProblemLibrary; ambiguities = false)