Stream rspec progress in CI

This commit is contained in:
Daniel Schädler 2026-04-15 11:17:29 +02:00
parent f90d21eeb6
commit bb9b900b39
1 changed files with 4 additions and 2 deletions

View File

@ -419,7 +419,7 @@ def start_test_local(
@task @task
def test(c): def test(c):
"""Run the normal RSpec suite.""" """Run the normal RSpec suite."""
c.run(_bundle_exec("rspec"), pty=True) c.run(_bundle_exec("rspec", "--format", "progress", "--tty"), pty=True)
@task(name="test-shard") @task(name="test-shard")
@ -452,7 +452,9 @@ def test_shard(c, node_index=1, node_total=8, dry_run=False):
return return
c.run( c.run(
_bundle_exec("rspec") + " --require ./spec/rails_helper " + " ".join(shlex.quote(path) for path in files), _bundle_exec("rspec", "--format", "progress", "--tty") +
" --require ./spec/rails_helper " +
" ".join(shlex.quote(path) for path in files),
pty=True, pty=True,
) )