summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2021-12-26 16:35:09 +0000
committerlain <lain@soykaf.club>2021-12-26 16:35:09 +0000
commit3b8eaadb0d8fb7c2e415340ac93f78b00b7dbb5d (patch)
tree0f95435a075834ae81bd97fab34e2a9758f7e257
parent2e2fb5f8026a8d70f5d64dcc94f8253a5db24020 (diff)
parente8e8d2262ec55acabb7f7749f915e24d06df601a (diff)
Merge branch 'erratic' into 'develop'
CI: Start testing erratic test again See merge request pleroma/pleroma!3575
-rw-r--r--.gitlab-ci.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f296f7bd9..3860f1db9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -93,6 +93,27 @@ unit-testing:
- mix ecto.migrate
- mix coveralls --preload-modules
+unit-testing-erratic:
+ stage: test
+ retry: 2
+ only:
+ changes:
+ - "**/*.ex"
+ - "**/*.exs"
+ - "mix.lock"
+ cache: &testing_cache_policy
+ <<: *global_cache_policy
+ policy: pull
+
+ services:
+ - name: postgres:13
+ alias: postgres
+ command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
+ script:
+ - mix ecto.create
+ - mix ecto.migrate
+ - mix test --only=erratic
+
# Removed to fix CI issue. In this early state it wasn't adding much value anyway.
# TODO Fix and reinstate federated testing
# federated-testing: