Skip to content

Commit

Permalink
CI: Ensure tmp directory exists on Windows before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snej committed Jan 13, 2021
1 parent 97a8835 commit 5a2db1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ jobs:
run: |
set -e
cmake --build . --config Debug --target FleeceTests
mkdir -p /c/tmp
Debug/FleeceTests.exe
1 change: 1 addition & 0 deletions Tests/EncoderTests.cc
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ class EncoderTests {

{
FILE *out = fopen(kTempDir"fleecetemp.fleece", "wb");
REQUIRE(out != nullptr);
Encoder fenc(out);
fenc.writeValue(root);
fenc.end();
Expand Down

0 comments on commit 5a2db1a

Please sign in to comment.