Skip to content

Commit 9628268

Browse files
Enable c integration tests in factory
1 parent 5f4f42b commit 9628268

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.factory/automation.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -145,20 +145,20 @@ build:
145145
# tool/test/stop-cluster-servers.sh
146146
# exit $TEST_SUCCESS
147147

148-
# test-c-integration:
149-
# image: typedb-ubuntu-20.04 # Ubuntu 20.04 has GLIBC version 2.31 (2020) which we should verify to compile against
150-
# dependencies:
151-
# - build
152-
# command: |
153-
# export ARTIFACT_USERNAME=$REPO_TYPEDB_USERNAME
154-
# export ARTIFACT_PASSWORD=$REPO_TYPEDB_PASSWORD
155-
# bazel run @typedb_dependencies//tool/bazelinstall:remote_cache_setup.sh
156-
# bazel run @typedb_dependencies//distribution/artifact:create-netrc
157-
# tool/test/start-community-server.sh &&
158-
# bazel test //c/tests/integration:test-driver --test_output=errors &&
159-
# export TEST_SUCCESS=0 || export TEST_SUCCESS=1
160-
# tool/test/stop-community-server.sh
161-
# exit $TEST_SUCCESS
148+
test-c-integration:
149+
image: typedb-ubuntu-20.04 # Ubuntu 20.04 has GLIBC version 2.31 (2020) which we should verify to compile against
150+
dependencies:
151+
- build
152+
command: |
153+
export ARTIFACT_USERNAME=$REPO_TYPEDB_USERNAME
154+
export ARTIFACT_PASSWORD=$REPO_TYPEDB_PASSWORD
155+
bazel run @typedb_dependencies//tool/bazelinstall:remote_cache_setup.sh
156+
bazel run @typedb_dependencies//distribution/artifact:create-netrc
157+
tool/test/start-community-server.sh &&
158+
bazel test //c/tests/integration:test-driver --test_output=errors &&
159+
export TEST_SUCCESS=0 || export TEST_SUCCESS=1
160+
tool/test/stop-community-server.sh
161+
exit $TEST_SUCCESS
162162
163163
test-java-integration:
164164
image: typedb-ubuntu-22.04

0 commit comments

Comments
 (0)