Skip to content

Commit

Permalink
Allow to manually trigger nightlies without chip tests (#1542)
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollon77 authored Dec 20, 2024
1 parent b5847a1 commit c66941c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/nightly-dev-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ on:
- prepatch
- preminor
- premajor

skipChipTests:
description: 'Skip chip tests'
required: false
default: false
type: boolean
jobs:
publish-config:
if: github.repository == 'project-chip/matter.js'
Expand Down Expand Up @@ -60,13 +64,13 @@ jobs:
run: npm run test

- name: Prepare chip tests
if: steps.changes.outputs.result == 'ok'
if: ${{ steps.changes.outputs.result == 'ok' && !inputs.skipChipTests }}
uses: ./.github/actions/prepare-chip-testing
with:
build-matter-js: "false"

- name: chip-tool-test execution
if: steps.changes.outputs.result == 'ok'
if: ${{ steps.changes.outputs.result == 'ok' && !inputs.skipChipTests }}
id: test-execution
shell: bash
run: |
Expand All @@ -86,7 +90,7 @@ jobs:
'
- name: Cleanup chip tests
if: steps.changes.outputs.result == 'ok'
if: ${{ steps.changes.outputs.result == 'ok' && !inputs.skipChipTests }}
id: cleanup-chip-tests
shell: bash
run: |
Expand Down

0 comments on commit c66941c

Please sign in to comment.