Skip to content

Commit

Permalink
Fixing job conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kantis committed Feb 26, 2024
1 parent 59e88bf commit 8bf13ce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
api_check:
needs: [ determine-workflows-to-run ]
if: github.repository == 'kotest/kotest' && ${{ needs.determine-workflows-to-run.outputs.run_tests == 'true' }}
if: ${{ github.repository == 'kotest/kotest' && needs.determine-workflows-to-run.outputs.run_tests == 'true' }}
uses: ./.github/workflows/run-gradle.yml
with:
runs-on: ubuntu-latest
Expand All @@ -54,7 +54,7 @@ jobs:

test_linux:
needs: [ api_check, determine-workflows-to-run ]
if: github.repository == 'kotest/kotest' && ${{ needs.determine-workflows-to-run.outputs.run_tests == 'true' }}
if: ${{ github.repository == 'kotest/kotest' && needs.determine-workflows-to-run.outputs.run_tests == 'true' }}
strategy:
matrix:
target:
Expand All @@ -71,7 +71,7 @@ jobs:

test_mac:
needs: [ test_linux, determine-workflows-to-run ]
if: github.repository == 'kotest/kotest' && ${{ needs.determine-workflows-to-run.outputs.run_tests == 'true' }}
if: ${{ github.repository == 'kotest/kotest' && needs.determine-workflows-to-run.outputs.run_tests == 'true' }}
strategy:
fail-fast: true
matrix:
Expand All @@ -89,7 +89,7 @@ jobs:

test_windows:
needs: [ api_check, determine-workflows-to-run ]
if: github.repository == 'kotest/kotest' && ${{ needs.determine-workflows-to-run.outputs.run_tests == 'true' }}
if: ${{ github.repository == 'kotest/kotest' && needs.determine-workflows-to-run.outputs.run_tests == 'true' }}
uses: ./.github/workflows/run-gradle.yml
with:
runs-on: windows-latest
Expand All @@ -98,7 +98,7 @@ jobs:

test_docs:
needs: [ determine-workflows-to-run ]
if: github.repository == 'kotest/kotest' && ${{ needs.determine-workflows-to-run.outputs.run_docs == 'true' }}
if: ${{ github.repository == 'kotest/kotest' && needs.determine-workflows-to-run.outputs.run_docs == 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 8bf13ce

Please sign in to comment.