From 63bc85a9ff4b4d77945343e13192254ca5b8ffd1 Mon Sep 17 00:00:00 2001 From: Oliver Holworthy <1216955+oliverholworthy@users.noreply.github.com> Date: Mon, 3 Jul 2023 12:41:04 +0100 Subject: [PATCH] Replace double [[ with single [ --- .github/workflows/gpu.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gpu.yml b/.github/workflows/gpu.yml index 9793f93625..f2b7ba84e3 100644 --- a/.github/workflows/gpu.yml +++ b/.github/workflows/gpu.yml @@ -43,7 +43,7 @@ jobs: uses: NVIDIA-Merlin/.github/actions/branch-name@6f0539fba24f60da2aee63c5925bee7cee3206e3 - name: Run tests run: | - if [[ "${{ github.ref }}" != 'refs/heads/main' ]]; then + if [ "${{ github.ref }}" != 'refs/heads/main' ]; then extra_pytest_markers="and changed" fi merlin_branch="${{ steps.get-branch-name.outputs.branch }}" @@ -123,7 +123,7 @@ jobs: uses: NVIDIA-Merlin/.github/actions/branch-name@6f0539fba24f60da2aee63c5925bee7cee3206e3 - name: Run tests run: | - if [[ "${{ github.ref }}" != 'refs/heads/main' ]]; then + if [ "${{ github.ref }}" != 'refs/heads/main' ]; then extra_pytest_markers="and changed" fi merlin_branch="${{ steps.get-branch-name.outputs.branch }}"