Skip to content

Commit

Permalink
Fix artifacts (#18)
Browse files Browse the repository at this point in the history
* Update runtests.jl

* Update Project.toml

* Try to fix tests by moving Artifacts.toml

* Add Unitful (error duet to removed re-export in MPIFiles)

* Change SHA hash to test CI on Linux and Mac

* Add HDF (removed re-export)

* Also add HDF5 to normal package

* Adapt HDF5 in tests
  • Loading branch information
jonschumacher authored Sep 28, 2023
1 parent 2d6fc82 commit d1b3f09
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/Artifacts.toml → Artifacts.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[testData]
git-tree-sha1 = "0b86feae2df3679403e813226d46395e9d5f5bad"
git-tree-sha1 = "c95593d075d35d1e612fd8cc61e4fe2762a4acf6"

[[testData.download]]
sha256 = "dd3d78a99d77a5cf8c4575637ee481010d8062e4d90a1358cfda85e6570cc973"
Expand Down
5 changes: 4 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ version = "0.0.6"

[deps]
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
HDF5 = "f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
MPIFiles = "371237a9-e6c1-5201-9adb-3d8cfa78fa9f"
MPIMagneticFields = "f6dda52a-86e9-4b50-afb7-f39836a99446"
Expand All @@ -14,6 +15,7 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

[compat]
DocStringExtensions = "0.8, 0.9"
HDF5 = "0.14, 0.15, 0.16"
MPIFiles = "0.12, 0.13, 0.14"
MPIMagneticFields = "0.0.4, 0.0.5, 0.0.6"
NLsolve = "4"
Expand All @@ -26,6 +28,7 @@ Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
Scratch = "6c6a2e73-6563-6170-7368-637461726353"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"

[targets]
test = ["Aqua", "Artifacts", "Scratch", "Test"]
test = ["Aqua", "Artifacts", "Scratch", "Test", "Unitful"]
1 change: 1 addition & 0 deletions src/MPISphericalHarmonics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ using MPIMagneticFields
using SphericalHarmonicExpansions
using MPIFiles
using NLsolve # for Newton solver
using HDF5

import Base.length

Expand Down
2 changes: 2 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ using Test
using Aqua
using Artifacts
using Scratch
using Unitful
using HDF5

const datadir = artifact"testData"
@info "The test data is located at $datadir."
Expand Down

0 comments on commit d1b3f09

Please sign in to comment.