Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuangnm authored and dhuangnm committed Sep 13, 2024
1 parent 9b13421 commit 8183caf
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .github/actions/test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ runs:
with:
venv: ${{ inputs.venv }}
name: compressed
#extra: "[dev,accelerate]"
extra: "[dev]"
extra: "${EXTRA}"

- name: test
id: test
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ jobs:
testmo_run_id: ${{ needs.BUILD.outputs.testmo_run_id }}
secrets: inherit

UPLOAD:
needs: TEST
uses: ./.github/workflows/upload.yml
with:
label: k8s-util
timeout: 40
run_id: ${{ github.run_id }}
push_to_pypi: ${{ inputs.push_to_pypi }}
secrets: inherit
# UPLOAD:
# needs: TEST
# uses: ./.github/workflows/upload.yml
# with:
# label: k8s-util
# timeout: 40
# run_id: ${{ github.run_id }}
# push_to_pypi: ${{ inputs.push_to_pypi }}
# secrets: inherit
8 changes: 8 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@ jobs:
name: ${{ inputs.whl }}
path: ${{ inputs.whl }}

- name: dependency
run: |
if [[ ${{ inputs.whl }} =~ nightly ]]; then
echo 'EXTRA="[dev,accelerate]"' >> $GITHUB_ENV
else
echo 'EXTRA="[dev]"' >> $GITHUB_ENV
fi
- name: run tests
id: test
uses: ./.github/actions/test/
Expand Down

0 comments on commit 8183caf

Please sign in to comment.