Skip to content

Commit

Permalink
chore: improve test env
Browse files Browse the repository at this point in the history
- seperate test env as it is recommend
- remove CondaPkg.toml as we do not want to resolve it globally
  • Loading branch information
Beforerr authored and adamslc committed Feb 6, 2025
1 parent 2569ac9 commit dc9f4d6
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 18 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/Manifest.toml
/docs/Manifest.toml
Manifest.toml
/docs/build/
.CondaPkg/
3 changes: 0 additions & 3 deletions CondaPkg.toml

This file was deleted.

13 changes: 0 additions & 13 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,7 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
UnitfulEquivalences = "da9c4bc3-91c8-4f02-8a40-6b990d2a7e0c"

[compat]
Aqua = "0.8"
LinearAlgebra = "1.10"
PermuteArgs = "1.2.1"
PythonCall = "0.9.23"
Test = "1.10"
Unitful = "1.0"
UnitfulEquivalences = "0.2"
julia = "1.10"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "LinearAlgebra", "PythonCall", "Test"]
15 changes: 15 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
CondaPkg = "992eb4ea-22a4-4c89-a5bb-47a3300528ab"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
PythonCall = "6099a3de-0909-46bc-b1f4-468b9a2dfc0d"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

[compat]
Aqua = "0.8"
CondaPkg = "0.2.24"
LinearAlgebra = "1.10"
PythonCall = "0.9.23"
Test = "1.10"
Unitful = "1.0"
3 changes: 3 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ using Aqua
using Unitful
using LinearAlgebra
using PythonCall
using CondaPkg

CondaPkg.add(["astropy", "plasmapy"])

units = pyimport("astropy.units")
formulary = pyimport("plasmapy.formulary")
Expand Down

0 comments on commit dc9f4d6

Please sign in to comment.