Skip to content

Commit

Permalink
Improve node hub CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuanTao committed Nov 14, 2024
1 parent ea2a527 commit 7a1408b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/node-hub-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
needs: [ci, find-jobs]
defaults:
run:
working-directory: ${{ matrix.folder }}
working-directory: node-hub/${{ matrix.folder }}
strategy:
matrix:
folder: ${{ fromJson(needs.find-jobs.outputs.folders )}}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/node_hub_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ if [[ " ${ignored_folders[@]} " =~ " ${base_dir} " ]]; then
else
if [ -f "$dir/Cargo.toml" ]; then
echo "Running build and tests for Rust project in $dir..."
cargo check
cargo clippy
cargo build
cargo test
else
Expand Down
1 change: 1 addition & 0 deletions node-hub/dora-opus/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ numpy = "< 2.0.0"
python = "^3.7"
transformers = "^4.45"
modelscope = "^1.18.1"
sentencepiece = "^0.1.99"

[tool.poetry.scripts]
dora-opus = "dora_opus.main:main"
Expand Down

0 comments on commit 7a1408b

Please sign in to comment.