Skip to content

Commit

Permalink
Bring nightly build/test back (#179)
Browse files Browse the repository at this point in the history
* switch nightly back to nightly

* minor update

---------

Co-authored-by: dhuangnm <[email protected]>
  • Loading branch information
dhuangnm and dhuangnm authored Oct 3, 2024
1 parent 9afd956 commit 0067091
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
wf_category:
description: "workflow category: NIGHTLY, RELEASE"
type: string
default: RELEASE
default: NIGHTLY
push_to_pypi:
description: "When set to true, built whl and tar.gz will be pushed to public pypi if all tests pass"
type: boolean
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:

- name: build
id: build
uses: neuralmagic/nm-actions/actions/build-ml-whl@v1.2.0
uses: neuralmagic/nm-actions/actions/build-ml-whl@v1.6.0
with:
dev: false
release: ${{ inputs.wf_category == 'RELEASE' }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/trigger-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
workflow_dispatch:
inputs:
wf_category:
description: "workflow category, default is RELEASE"
description: "workflow category, default is NIGHTLY"
type: choice
options:
- NIGHTLY
- RELEASE
default: RELEASE
default: NIGHTLY
push_to_pypi:
description: "when set and tests pass, then '.whl' & '.tar.gz' will be pushed to public pypi"
type: boolean
Expand All @@ -27,11 +27,11 @@ jobs:

BUILD-TEST:
uses: ./.github/workflows/build-test.yml
name: ${{ inputs.wf_category || 'RELEASE' }}
name: ${{ inputs.wf_category || 'NIGHTLY' }}
with:
wf_category: ${{ inputs.wf_category || 'RELEASE' }}
wf_category: ${{ inputs.wf_category || 'NIGHTLY' }}
gitref: ${{ inputs.gitref || 'main' }}
push_to_pypi: ${{ inputs.push_to_pypi || false }}
push_to_pypi: ${{ (github.event.schedule == '30 0 * * *') || inputs.push_to_pypi || false }}
test_configs: '[{"python":"3.11.4","label":"ubuntu-22.04","timeout":"40"},
{"python":"3.10.12","label":"ubuntu-20.04","timeout":"40"},
{"python":"3.9.17","label":"k8s-a100-solo","timeout":"40"},
Expand Down

0 comments on commit 0067091

Please sign in to comment.