Merge branch 'enable-erratic' into 'develop'
Enable erratic tests See merge request pleroma/pleroma!4155
This commit is contained in:
commit
73916dbead
@ -151,20 +151,6 @@ unit-testing-1.15.8-otp-26:
|
|||||||
services: *testing_services
|
services: *testing_services
|
||||||
script: *testing_script
|
script: *testing_script
|
||||||
|
|
||||||
unit-testing-1.13.4-otp-25-erratic:
|
|
||||||
extends:
|
|
||||||
- .build_changes_policy
|
|
||||||
- .using-ci-base
|
|
||||||
stage: test
|
|
||||||
retry: 2
|
|
||||||
allow_failure: true
|
|
||||||
cache: *testing_cache_policy
|
|
||||||
services: *testing_services
|
|
||||||
script:
|
|
||||||
- mix ecto.create
|
|
||||||
- mix ecto.migrate
|
|
||||||
- mix pleroma.test_runner --only=erratic
|
|
||||||
|
|
||||||
formatting-1.15:
|
formatting-1.15:
|
||||||
extends: .build_changes_policy
|
extends: .build_changes_policy
|
||||||
image: &formatting_elixir elixir:1.15-alpine
|
image: &formatting_elixir elixir:1.15-alpine
|
||||||
|
0
changelog.d/ci-erratic.skip
Normal file
0
changelog.d/ci-erratic.skip
Normal file
@ -6,7 +6,7 @@ Code.put_compiler_option(:warnings_as_errors, true)
|
|||||||
|
|
||||||
ExUnit.configure(capture_log: true, max_cases: System.schedulers_online())
|
ExUnit.configure(capture_log: true, max_cases: System.schedulers_online())
|
||||||
|
|
||||||
ExUnit.start(exclude: [:federated, :erratic])
|
ExUnit.start(exclude: [:federated])
|
||||||
|
|
||||||
if match?({:unix, :darwin}, :os.type()) do
|
if match?({:unix, :darwin}, :os.type()) do
|
||||||
excluded = ExUnit.configuration() |> Keyword.get(:exclude, [])
|
excluded = ExUnit.configuration() |> Keyword.get(:exclude, [])
|
||||||
|
Loading…
Reference in New Issue
Block a user