Enable erratic tests

This commit is contained in:
Mark Felder 2024-06-20 19:43:39 +00:00
parent fee1e17d87
commit 7d5065819c
3 changed files with 1 additions and 15 deletions

View File

@ -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

View File

View 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, [])