Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacome committed Dec 19, 2024
1 parent aa55adc commit 934d2ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
min_k8s_version: ${{ steps.vars.outputs.min_k8s_version }}
k8s_latest: ${{ steps.vars.outputs.k8s_latest }}
helm_changes: ${{ steps.filter.outputs.charts }}
code_changes: ${{ steps.filter.outputs.code }}
docs_only_changes: ${{ steps.filter.outputs.docs && !steps.filter.outputs.code }}
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
name: Unit Tests
runs-on: ubuntu-24.04
needs: vars
if: ${{ needs.vars.outputs.code_changes != 'true' }}
if: ${{ needs.vars.outputs.docs_only_changes == 'true' }}
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
name: NJS Unit Tests
runs-on: ubuntu-24.04
needs: vars
if: ${{ needs.vars.outputs.code_changes != 'true' }}
if: ${{ needs.vars.outputs.docs_only_changes == 'true' }}
steps:
- name: Checkout Repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
image: ${{ matrix.image }}
k8s-version: ${{ matrix.k8s-version }}
enable-experimental: ${{ matrix.enable-experimental }}
if: ${{ (!github.event.pull_request.head.repo.fork || matrix.image != 'plus' ) && needs.vars.outputs.code_changes != 'true' }}
if: ${{ (!github.event.pull_request.head.repo.fork || matrix.image != 'plus' ) && needs.vars.outputs.docs_only_changes != 'true' }}
secrets: inherit
permissions:
contents: write
Expand Down
Empty file added docs/test
Empty file.

0 comments on commit 934d2ab

Please sign in to comment.