You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2021/11/05 21:27:47 UTC

[couchdb-erlfdb] branch bindingtester created (now 8709710)

This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a change to branch bindingtester
in repository https://gitbox.apache.org/repos/asf/couchdb-erlfdb.git.


      at 8709710  Add a matrix job to run binding tests

This branch includes the following new commits:

     new 8709710  Add a matrix job to run binding tests

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[couchdb-erlfdb] 01/01: Add a matrix job to run binding tests

Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch bindingtester
in repository https://gitbox.apache.org/repos/asf/couchdb-erlfdb.git

commit 8709710e9b4ea9d4f1782b913316417e06352b0f
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Fri Nov 5 17:15:31 2021 -0400

    Add a matrix job to run binding tests
    
    This job uses the same container image as the .devcontainer. It runs
    each of the binding tests for every supported API version (currently
    610 and 620). It relies on a service container for the underlying FDB
    server.
---
 .github/workflows/ci.yml | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 633dd35..ded6d08 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -83,3 +83,28 @@ jobs:
         if: ${{ failure() }}
         with:
           limit-access-to-actor: true
+
+  binding_tester:
+    strategy:
+      matrix:
+        test-name: [api, directory, directory_hca, scripted, tuple]
+        api-version: [610, 620]
+    container:
+      image: kocolosk/erlfdb-bindingtester-ci:latest
+    services:
+      foundationdb:
+        image: foundationdb/foundationdb:6.2.30
+        ports: [4500]
+    steps:
+      - name: Create FDB cluster file
+        shell: bash
+        run: /usr/local/bin/create_cluster_file.bash
+      - name: Compile erlfdb
+        run: rebar3 compile
+      - name: Execute binding test
+        env:
+          TEST_NAME: ${{ matrix.test-name }}
+          API_VERSION: ${{ matrix.api-version }}
+          ERL_LIBS: /usr/src/erlfdb/_build/default/lib/erlfdb/
+        working-directory: /usr/src/foundationdb/bindings/bindingtester/
+        run: ./bindingtester.py erlang --test-name $TEST_NAME --api-version $API_VERSION --num-ops 10000