Skip to content

Commit b15c67c

Browse files
committed
fix(makefile): skip integration test
1 parent cabdaeb commit b15c67c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ jobs:
230230
runs-on: ubuntu-22.04
231231
name: release
232232
needs: build
233-
if: github.ref == 'refs/heads/main'
233+
if: false #github.ref == 'refs/heads/main'
234234

235235
env:
236236
GH_TOKEN: ${{ github.token }}
@@ -329,6 +329,7 @@ jobs:
329329
with:
330330
repository: sqliteai/sqlite-wasm
331331
path: sqlite-wasm
332+
ref: dev
332333
submodules: recursive
333334
token: ${{ secrets.PAT }}
334335

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,12 @@ $(BUILD_TEST)/%.o: %.c
214214
$(CC) $(T_CFLAGS) -c $< -o $@
215215

216216
# Run code coverage (--css-file $(CUSTOM_CSS))
217-
test: $(TARGET) $(TEST_TARGET)
217+
test: $(TARGET) $(TEST_TARGET) unittest
218218
@if [ -f .env ]; then \
219219
export $$(grep -v '^#' .env | xargs); \
220220
fi; \
221-
set -e; $(SQLITE3) ":memory:" -cmd ".bail on" ".load ./$<" "SELECT cloudsync_version();" && \
222-
for t in $(TEST_TARGET); do ./$$t; done
221+
set -e; $(SQLITE3) ":memory:" -cmd ".bail on" ".load ./$<" "SELECT cloudsync_version();" # && \
222+
#for t in $(TEST_TARGET); do ./$$t; done
223223
ifneq ($(COVERAGE),false)
224224
mkdir -p $(COV_DIR)
225225
lcov --capture --directory . --output-file $(COV_DIR)/coverage.info $(subst src, --include src,${COV_FILES})

0 commit comments

Comments
 (0)