CI: Add testing stage for federated tests.
authorlain <lain@soykaf.club>
Mon, 22 Jul 2019 14:18:37 +0000 (16:18 +0200)
committerstwf <steven.fuchs@dockyard.com>
Tue, 26 Nov 2019 20:03:16 +0000 (15:03 -0500)
.gitlab-ci.yml

index ab62c88275958f118e6783567864eb5daf1e8c78..78b560cac40cbda82f9333e700a93b7474310b24 100644 (file)
@@ -55,6 +55,18 @@ unit-testing:
     - mix ecto.migrate
     - mix coveralls --preload-modules
 
+federated-testing:
+  stage: test
+  services:
+  - name: lainsoykaf/postgres-with-rum
+    alias: postgres
+    command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
+  script:
+    - mix deps.get
+    - mix ecto.create
+    - mix ecto.migrate
+    - mix test --trace --only federated
+
 unit-testing-rum:
   stage: test
   services: