Skip to content

Commit 2fdab29

Browse files
committed
ci/infra: run C++/couchbase-lite-core tests
1 parent 123d777 commit 2fdab29

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,13 @@ jobs:
8686
with:
8787
cmake-version: '3.9.6'
8888
github-api-token: ${{ secrets.GITHUB_TOKEN }}
89+
- name: Add fr_FR locale
90+
if: matrix.os == 'ubuntu-latest'
91+
run: |
92+
set -e
93+
sudo locale-gen fr_FR
94+
sudo update-locale
95+
shell: bash
8996
- name: Run tests
9097
run: |
9198
set -e

ci/build_and_run_tests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ def build_and_test_cpp_part(src_root: str):
3535
check_call(["ls"], cwd = cmake_build_dir)
3636
check_call(["cmake", "--build", ".", "--", "-j%d" % (cpu_count() + 1)],
3737
cwd = cmake_build_dir)
38+
os.environ["LiteCoreTestsQuiet"] = "1"
39+
check_call(["./CppTests", "-r", "list"], cwd = os.path.join(cmake_build_dir, "LiteCore", "tests"))
40+
check_call(["./C4Tests", "-r", "list"], cwd = os.path.join(cmake_build_dir, "C", "tests"))
41+
3842

3943
@show_timing
4044
def build_and_test_rust_part(src_root: str):

0 commit comments

Comments
 (0)