Skip to content

Commit 5a2db1a

Browse files
committed
CI: Ensure tmp directory exists on Windows before running tests
1 parent 97a8835 commit 5a2db1a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/cmake.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ jobs:
6262
run: |
6363
set -e
6464
cmake --build . --config Debug --target FleeceTests
65+
mkdir -p /c/tmp
6566
Debug/FleeceTests.exe

Tests/EncoderTests.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,7 @@ class EncoderTests {
688688

689689
{
690690
FILE *out = fopen(kTempDir"fleecetemp.fleece", "wb");
691+
REQUIRE(out != nullptr);
691692
Encoder fenc(out);
692693
fenc.writeValue(root);
693694
fenc.end();

0 commit comments

Comments
 (0)