Skip to content

Commit 838521c

Browse files
committed
add CI tests for Inspector
1 parent e42001b commit 838521c

File tree

5 files changed

+37
-3
lines changed

5 files changed

+37
-3
lines changed

.github/workflows/CompatHelper.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: "Run CompatHelper"
3838
run: |
3939
import CompatHelper
40-
CompatHelper.main(; subdirs=["", "docs", "test", "benchmark"])
40+
CompatHelper.main(; subdirs=["", "docs", "test", "benchmark", "NetworkDynamicsInspector"])
4141
shell: julia --color=yes {0}
4242
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,31 @@ jobs:
4545
token: ${{ secrets.CODECOV_TOKEN }}
4646
fail_ci_if_error: false
4747

48+
Inspector-tests:
49+
name: NetworkDynamicsInspector.jl Tests
50+
runs-on: ubuntu-latest
51+
permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created
52+
actions: write
53+
contents: read
54+
steps:
55+
- uses: actions/checkout@v4
56+
- uses: julia-actions/setup-julia@v2
57+
with:
58+
version: 1
59+
- uses: julia-actions/cache@v2
60+
- uses: julia-actions/julia-buildpkg@v1
61+
with:
62+
project: NetworkDynamicsInspector
63+
- uses: julia-actions/julia-runtest@v1
64+
with:
65+
project: NetworkDynamicsInspector
66+
# - uses: julia-actions/julia-processcoverage@v1
67+
# - uses: codecov/codecov-action@v4
68+
# with:
69+
# files: lcov.info
70+
# token: ${{ secrets.CODECOV_TOKEN }}
71+
# fail_ci_if_error: false
72+
4873
pd-test:
4974
name: PowerDynamics.jl test - Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
5075
runs-on: ${{ matrix.os }}

NetworkDynamicsInspector/Project.toml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,27 @@ OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
1515
SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1616
WGLMakie = "276b4fcb-3e11-5398-bf8b-a0c2d153d008"
1717

18+
[extras]
19+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
20+
ExplicitImports = "7d51a73a-1435-4ff3-83d9-f097790105c7"
21+
ModelingToolkit = "961ee093-0014-501f-94e3-6117800e7a78"
22+
OrdinaryDiffEqTsit5 = "b1df2697-797e-41e3-8120-5422d3b24e4a"
23+
1824
[sources]
1925
NetworkDynamics = {path = ".."}
2026

2127
[compat]
28+
Aqua = "0.8.9"
2229
Bonito = "4.0.0"
2330
ColorSchemes = "3.29.0"
2431
Colors = "0.13.0"
32+
ExplicitImports = "1.10.1"
2533
GraphMakie = "0.5.14"
2634
Graphs = "1.12.0"
27-
NetworkDynamics = "0.9.11"
35+
NetworkDynamics = "0.9.13"
2836
Observables = "0.5.5"
2937
OrderedCollections = "1.8.0"
38+
OrdinaryDiffEqTsit5 = "1.1.0"
3039
SciMLBase = "2.75.1"
3140
WGLMakie = "0.11"
3241
julia = "1.10"
File renamed without changes.

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "NetworkDynamics"
22
uuid = "22e9dc34-2a0d-11e9-0de0-8588d035468b"
33
authors = ["Frank Hellmann <[email protected]>, Michael Lindner <[email protected]>, Hans Würfel <[email protected]"]
4-
version = "0.9.12"
4+
version = "0.9.13"
55

66
[deps]
77
ArgCheck = "dce04be8-c92d-5529-be00-80e4d2c0e197"

0 commit comments

Comments
 (0)