diff options
author | lain <lain@soykaf.club> | 2019-10-10 14:24:54 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-10-10 14:24:54 +0200 |
commit | 02f8e2a8ab65c3e8497bab4576ce4e75f8df3217 (patch) | |
tree | 2210cde731e695912f995c3b1d522f6437bc7ffc /.gitlab-ci.yml | |
parent | 1d285e6fada841b6959b6516aca1c84d1a2c9b93 (diff) | |
download | pleroma-02f8e2a8ab65c3e8497bab4576ce4e75f8df3217.tar.gz |
Gitlab: Run benchmark in CI.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d0c540b16..09684df02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,7 @@ cache: stages: - build - test + - benchmark - deploy - release @@ -44,6 +45,19 @@ docs-build: paths: - priv/static/doc +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.benchmark unit-testing: stage: test |