Skip to content

Commit

Permalink
Change logical not to == ''
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleJune committed Jul 14, 2023
1 parent 605ccb2 commit 2efbdae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2efbdae

Please sign in to comment.