Skip to content

Commit

Permalink
fix unit tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
bfops committed Nov 6, 2024
1 parent 43d9b8f commit a12594a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/unity-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Install SpacetimeDB CLI from specific branch
run: |
cd unity-tests~
git clone --recurse-submodules https://github.com/clockworklabs/SpacetimeDB.git
git clone https://github.com/clockworklabs/SpacetimeDB.git
cd SpacetimeDB
# Sanitize the branch name by trimming any newlines or spaces
branch_name=$(echo "${{ steps.extract-branch.outputs.branch }}" | tr -d '[:space:]')
Expand All @@ -107,6 +107,8 @@ jobs:
branch_name="master"
fi
git checkout "$branch_name"
git submodule init
git submodule update --recursive
echo "Checked out branch: $branch_name"
cargo build --release -p spacetimedb-cli
sudo mv target/release/spacetime /usr/bin/spacetime
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/unity-testsuite-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
- name: Install SpacetimeDB CLI from specific branch
run: |
cd unity-tests~
git clone --recurse-submodules https://github.com/clockworklabs/SpacetimeDB.git
git clone https://github.com/clockworklabs/SpacetimeDB.git
cd SpacetimeDB
# Sanitize the branch name by trimming any newlines or spaces
branch_name=$(echo "${{ steps.extract-branch.outputs.branch }}" | tr -d '[:space:]')
Expand All @@ -99,6 +99,8 @@ jobs:
branch_name="master"
fi
git checkout "$branch_name"
git submodule init
git submodule update --recursive
echo "Checked out branch: $branch_name"
cargo build --release -p spacetimedb-cli
sudo mv target/release/spacetime /usr/bin/spacetime
Expand Down

0 comments on commit a12594a

Please sign in to comment.