From 2efbdae14ef49ef53ddfbfe54607776ef3303735 Mon Sep 17 00:00:00 2001 From: Kyle June Date: Thu, 13 Jul 2023 23:13:04 -0400 Subject: [PATCH] Change logical not to == '' --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4cf9ea..b6518fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -103,19 +103,19 @@ jobs: working-directory: ${{ inputs.working-directory }} if: | matrix.os != 'ubuntu-latest' - || !needs.variables.outputs.CODECOV_TOKEN + || needs.variables.outputs.CODECOV_TOKEN == '' run: deno test ${{ inputs.test-args }} . - name: Run tests and collect coverage working-directory: ${{ inputs.working-directory }} if: | matrix.os == 'ubuntu-latest' - && needs.variables.outputs.CODECOV_TOKEN + && needs.variables.outputs.CODECOV_TOKEN != '' run: deno test --coverage=cov ${{ inputs.test-args }} . - name: Generate coverage working-directory: ${{ inputs.working-directory }} if: | matrix.os == 'ubuntu-latest' - && needs.variables.outputs.CODECOV_TOKEN + && needs.variables.outputs.CODECOV_TOKEN != '' run: deno coverage --lcov=cov ${{ inputs.test-args }} > cov.lcov - name: Upload coverage uses: codecov/codecov-action@v3