Default config: Use extended nickname format
[akkoma] / .gitlab-ci.yml
index 36137b38e09b73e7bd47a0880c59680d230af436..0f8a0659b7ae9c10aca62eb52d44fb990fd646ce 100644 (file)
@@ -15,6 +15,7 @@ cache:
 stages:
   - build
   - test
+  - benchmark
   - deploy
   - release
 
@@ -28,6 +29,20 @@ build:
   - mix deps.get
   - mix compile --force
 
+benchmark:
+  stage: benchmark
+  variables:
+    MIX_ENV: benchmark
+  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 pleroma.load_testing
+
 unit-testing:
   stage: test
   services: