mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
refactor(python): drop now-always-true build.if
python-release.yml only triggers on workflow_dispatch, so build.if: github.event_name == 'workflow_dispatch' is always true and redundant; remove it (the exact event set is already pinned in the spec). Update the spec assertion accordingly.
This commit is contained in:
@@ -25,7 +25,6 @@ concurrency:
|
||||
jobs:
|
||||
build:
|
||||
name: Build four wheels
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
uses: ./.github/workflows/build-exe-for-python-sdk.yml
|
||||
with:
|
||||
targets: node24-linux-x64,node24-linux-arm64,node24-macos-arm64
|
||||
|
||||
@@ -291,7 +291,6 @@ describe('Python release workflows', () => {
|
||||
if (!isRecord(workflow.on)) throw new TypeError('python-release workflow must define on')
|
||||
expect(Object.keys(workflow.on)).toEqual(['workflow_dispatch'])
|
||||
expect(build).toMatchObject({
|
||||
if: "github.event_name == 'workflow_dispatch'",
|
||||
uses: './.github/workflows/build-exe-for-python-sdk.yml',
|
||||
with: {
|
||||
targets: 'node24-linux-x64,node24-linux-arm64,node24-macos-arm64',
|
||||
|
||||
Reference in New Issue
Block a user