From 392ec4e6c79a1b81941454135580cc308efa1cf9 Mon Sep 17 00:00:00 2001 From: "Lee J. O'Riordan" Date: Fri, 13 Sep 2024 16:25:02 -0400 Subject: [PATCH] More formatting checks --- .github/workflows/interface-unit-tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/interface-unit-tests.yml b/.github/workflows/interface-unit-tests.yml index ff448015f5c..c25307af446 100644 --- a/.github/workflows/interface-unit-tests.yml +++ b/.github/workflows/interface-unit-tests.yml @@ -276,7 +276,7 @@ jobs: install_pennylane_lightning_master: true pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }} pytest_markers: tf and not qcut and not finite-diff and not param-shift - pytest_additional_args: ${{ needs.setup-ci-load.outputs.enable-split == '1' && format('--splits {0} --group {1}', '3', matrix.group) || 'dumb' }} + pytest_additional_args: ${{ needs.setup-ci-load.outputs.enable-split == '1' && format('--splits {0} --group {1}', '3', toJSON(matrix.group) ) || 'dumb' }} pytest_durations_file_path: '.github/workflows/tf_tests_durations.json' pytest_store_durations: ${{ inputs.pytest_store_durations }} additional_pip_packages: pytest-split @@ -315,7 +315,7 @@ jobs: install_pennylane_lightning_master: true pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }} pytest_markers: jax and not qcut and not finite-diff and not param-shift - pytest_additional_args: ${{ needs.setup-ci-load.outputs.enable-split == '1' && format('--splits {0} --group {1}', '5', matrix.group) || 'cake' }} + pytest_additional_args: ${{ needs.setup-ci-load.outputs.enable-split == '1' && format('--splits {0} --group {1}', '5', toJSON(matrix.group) ) || 'cake' }} pytest_durations_file_path: .github/workflows/jax_tests_durations.json pytest_store_durations: ${{ inputs.pytest_store_durations }} additional_pip_packages: pytest-split @@ -354,7 +354,7 @@ jobs: install_pennylane_lightning_master: true pytest_coverage_flags: ${{ inputs.pytest_coverage_flags }} pytest_markers: core and not qcut and not finite-diff and not param-shift - pytest_additional_args: ${{ needs.setup-ci-load.outputs.enable-split == '1' && format('--splits {0} --group {1}', '5', matrix.group ) || 'test' }} + pytest_additional_args: ${{ needs.setup-ci-load.outputs.enable-split == '1' && format('--splits {0} --group {1}', '5', toJSON(matrix.group) ) || 'test' }} pytest_durations_file_path: .github/workflows/core_tests_durations.json pytest_store_durations: ${{ inputs.pytest_store_durations }} additional_pip_packages: pytest-split