Skip to content

Running parallel tests in Gitlab CI #365

Closed

Description

@clement-hvt
  • Testvench version : 6.27.1
  • Laravel: 8/83.27
  • PHP Version 7.4.33
  • Database Driver: Gitlab CI service mysql:5.7

Hi,
I'd like to run my tests in parallel with the --parallel option in my Gitlab CI but I can't manage it. From the logs I get the impression that the different databases are not created (.*test_1, .*test_2, .*test_3 ...). I'm running my tests on a mysql service offered by gitlab CI (host = mysql). Is this possible and does it come from the image I'm using? Or is it not possible to run tests in parallel on a gitlab CI?

This is the command I use: ./vendor/bin/testbench package:test --parallel -c phpunit.xml --log-junit phpunit-report.xml

Thanks !

Activity

  1. locked and limited conversation to collaborators on Jun 7, 2023
  2. converted this issue into a discussion #366 on Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions