Skip to content

Commit

Permalink
skip test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
stefantalpalaru committed Feb 10, 2021
1 parent 4388b7a commit ffc2f8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ jobs:
working-directory: NimYAML
run: |
nim lexerTests
nim parserTests
if [[ '${{ matrix.target.os }}' != 'windows' ]]; then
nim parserTests
fi
nim jsonTests
nim domTests
nim serializationTests
Expand Down
2 changes: 2 additions & 0 deletions test/tparser.nim
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ proc parserTest(path: string, errorExpected : bool): bool =
tagLib = initExtendedTagLibrary()
parser: YamlParser
parser.init(tagLib)
# We can't open these files in Mingw, even after converting the paths with
# `cygpath -w ...`.
var
actual = parser.parse(execCmdEx("cat " & path & "/in.yaml")[0])
expectedIn = newStringStream(execCmdEx("cat " & path & "/test.event")[0])
Expand Down

0 comments on commit ffc2f8b

Please sign in to comment.