Skip to content

Commit 9b9afee

Browse files
authored
specify nimble commit to be able to test on Nim 1.6 (#98)
1 parent ecf64c6 commit 9b9afee

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ jobs:
1010
build:
1111
uses: status-im/nimbus-common-workflow/.github/workflows/common.yml@main
1212
with:
13+
nimble-version: b920dad9ed76c6619be3ec0cfbf0dde6f9e39092
1314
test-command: |
14-
nimble install -y chronicles@#head
15-
nimble install -y unittest2
16-
nimble test
17-
nimble test_chronicles
15+
nimble --requires:unittest2 test
16+
nimble --requires:unittest2 --requires:chronicles test_chronicles
1817
1918
nph:
2019
runs-on: ubuntu-latest

metrics.nimble

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ task test, "Main tests":
4444
run "", "tests/chronos_server_tests"
4545
run "-d:metrics --threads:on -d:nimTypeNames", "tests/chronos_server_tests"
4646

47+
when (NimMajor, NimMinor) < (2, 0):
48+
taskRequires "test_chronicles", "chronicles < 0.12"
49+
4750
task test_chronicles, "Chronicles tests":
4851
build "", "tests/chronicles_tests"
4952
run "-d:metrics --threads:on", "tests/chronicles_tests"

0 commit comments

Comments
 (0)