Commit da8c7a11 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

feat: default use of pytest-xdist

parent bc6a335b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -9,12 +9,13 @@ variables:
  PYTEST_INSTALL_PLUGINS: "" # See https://docs.pytest.org/en/latest/reference/plugin_list.html
  PYTEST_DEFAULT_ARGS:
    -vvv --capture=tee-sys -o log_cli=true -o log_cli_level=DEBUG --color=yes
    -n=auto
  PYTEST_EXTRA_ARGS: ""

python:pytest:
  extends: .python:pre-install
  variables:
    JOB_PACKAGE: pytest pytest-cov ${PYTEST_INSTALL_PLUGINS}
    JOB_PACKAGE: pytest pytest-cov pytest-xdist ${PYTEST_INSTALL_PLUGINS}
  script:
    - !reference [".python:pre", script]
    - !reference [".python:pre-install", script]