Skip to content

Commit

Permalink
fix nimCI and bump version to 0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoGranstrom committed Jan 25, 2022
1 parent 30066a9 commit 0170715
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.7.1 -25.01.2022

Add a `nimCI` task for the Nim CI to run now that the tests have external dependencies.

# v0.7.0 - 25.01.2022

This is a *breaking* release, due to the changes in PR #25.
Expand Down
12 changes: 10 additions & 2 deletions numericalnim.nimble
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Package Information
version = "0.7.0"
version = "0.7.1"
author = "Hugo Granström"
description = "A collection of numerical methods written in Nim. Current features: integration, ode, optimization."
license = "MIT"
Expand All @@ -10,10 +10,18 @@ requires "nim >= 1.0"
requires "arraymancer >= 0.5.0"
requires "https://github.com/HugoGranstrom/cdt#head"

template installTestDeps() =
exec "nimble install -y https://github.com/SciNim/Measuremancer.git"

task testDeps, "Install external dependencies required for tests":
## installs all required external dependencies that are only used
## for tests
exec "nimble install https://github.com/SciNim/Measuremancer.git"
installTestDeps()

task nimCI, "Tests that should be run by the Nim CI":
installTestDeps()
exec "nim c -r --gc:refc tests/test_integrate.nim"
exec "nim c -r --gc:orc tests/test_integrate.nim"

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

0 comments on commit 0170715

Please sign in to comment.