Skip to content

Commit 0170715

Browse files
committed
fix nimCI and bump version to 0.7.1
1 parent 30066a9 commit 0170715

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# v0.7.1 -25.01.2022
2+
3+
Add a `nimCI` task for the Nim CI to run now that the tests have external dependencies.
4+
15
# v0.7.0 - 25.01.2022
26

37
This is a *breaking* release, due to the changes in PR #25.

numericalnim.nimble

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Package Information
2-
version = "0.7.0"
2+
version = "0.7.1"
33
author = "Hugo Granström"
44
description = "A collection of numerical methods written in Nim. Current features: integration, ode, optimization."
55
license = "MIT"
@@ -10,10 +10,18 @@ requires "nim >= 1.0"
1010
requires "arraymancer >= 0.5.0"
1111
requires "https://github.com/HugoGranstrom/cdt#head"
1212

13+
template installTestDeps() =
14+
exec "nimble install -y https://github.com/SciNim/Measuremancer.git"
15+
1316
task testDeps, "Install external dependencies required for tests":
1417
## installs all required external dependencies that are only used
1518
## for tests
16-
exec "nimble install https://github.com/SciNim/Measuremancer.git"
19+
installTestDeps()
20+
21+
task nimCI, "Tests that should be run by the Nim CI":
22+
installTestDeps()
23+
exec "nim c -r --gc:refc tests/test_integrate.nim"
24+
exec "nim c -r --gc:orc tests/test_integrate.nim"
1725

1826
task test, "Run all tests":
1927
exec "nim c -r tests/test_integrate.nim"

0 commit comments

Comments
 (0)