mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-17 18:49:15 +00:00
Merge branch 'erratic' into 'develop'
CI: Start testing erratic test again See merge request pleroma/pleroma!3575
This commit is contained in:
commit
3b8eaadb0d
|
@ -93,6 +93,27 @@ unit-testing:
|
||||||
- mix ecto.migrate
|
- mix ecto.migrate
|
||||||
- mix coveralls --preload-modules
|
- 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.
|
# Removed to fix CI issue. In this early state it wasn't adding much value anyway.
|
||||||
# TODO Fix and reinstate federated testing
|
# TODO Fix and reinstate federated testing
|
||||||
# federated-testing:
|
# federated-testing:
|
||||||
|
|
Loading…
Reference in a new issue