Skip to content

Commit 4499631

Browse files
author
Christopher Doris
committed
use workspaces for test, docs and benchmarks projects
1 parent 6f3d45e commit 4499631

File tree

4 files changed

+21
-12
lines changed

4 files changed

+21
-12
lines changed

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
## Testing
2+
- Run tests with `julia --project=test --code-coverage=@src test/runtests.jl`
3+
- Code coverage outputs `.cov` files for each source file.
4+
- Aim for total coverage of any added/edited code. If not possible, report back why.

Project.toml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
1515
UnsafePointers = "e17b2a0c-0bdf-430a-bd0c-3a23cae4ff39"
1616

1717
[compat]
18-
Aqua = "0 - 999"
1918
CategoricalArrays = "0.10, 1"
2019
CondaPkg = "0.2.33"
2120
Dates = "1"
@@ -26,8 +25,6 @@ Pkg = "1"
2625
PyCall = "1"
2726
Serialization = "1"
2827
Tables = "1"
29-
Test = "1"
30-
TestItemRunner = "0 - 999"
3128
UnsafePointers = "1"
3229
julia = "1.10"
3330

@@ -36,15 +33,12 @@ PyCallExt = "PyCall"
3633
CategoricalArraysExt = "CategoricalArrays"
3734

3835
[extras]
39-
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
4036
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
4137
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
42-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
43-
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
44-
45-
[targets]
46-
test = ["Aqua", "PyCall", "Test", "TestItemRunner"]
4738

4839
[weakdeps]
4940
CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"
5041
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
42+
43+
[workspace]
44+
projects = ["test", "docs", "benchmark"]

docs/Project.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,3 @@ PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
44

55
[compat]
66
Documenter = "1"
7-
8-
[sources]
9-
PythonCall = {path = ".."}

test/Project.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[deps]
2+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
3+
CondaPkg = "992eb4ea-22a4-4c89-a5bb-47a3300528ab"
4+
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
5+
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
6+
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
7+
PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
8+
Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
9+
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
10+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
11+
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"
12+
13+
[compat]
14+
PyCall = "1"

0 commit comments

Comments
 (0)