Skip to content

Commit

Permalink
Replace double [[ with single [
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverholworthy committed Jul 3, 2023
1 parent 55ff2b0 commit 63bc85a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down Expand Up @@ -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 }}"
Expand Down

0 comments on commit 63bc85a

Please sign in to comment.