Skip to content

Commit

Permalink
do not test JS target on Nim 1.6 #123
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Aug 13, 2023
1 parent ba60d6f commit 9a2a91b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
# xxx trim to on use latest in each branch eg 1.0.10, 1.2.8 etc
nim: [1.6.12]
nim: [1.0.0, 1.0.2, 1.0.4, 1.0.10, 1.2.0, 1.2.2, 1.2.4, 1.2.6, 1.2.12, 1.4.0, 1.4.2, 1.4.8, 1.6.14]
steps:
- uses: actions/checkout@v2
- name: Run Tests
Expand Down
3 changes: 2 additions & 1 deletion regex.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ task test2, "Test":
# the docker image for CI has it since Nim 1.0.4,
# so I'll only test it there
when (NimMajor, NimMinor, NimPatch) >= (1, 0, 4) and
(NimMajor, NimMinor) != (1, 4): # issue #88
(NimMajor, NimMinor) != (1, 4) and # issue #88
(NimMajor, NimMinor) != (1, 6): # issue #123
exec "nim js -r src/regex.nim"
exec "nim js -r tests/tests2.nim"
exec "nim js -r -d:forceRegexAtRuntime tests/tests2.nim"
Expand Down

0 comments on commit 9a2a91b

Please sign in to comment.