Skip to content

Commit

Permalink
👷 Update tests workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielePicco committed Feb 20, 2024
1 parent fde5a60 commit 019d470
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y pkg-config build-essential libudev-dev
npm install --global yarn
- name: Cache node dependencies
uses: actions/cache@v3
Expand Down Expand Up @@ -168,7 +169,12 @@ jobs:
export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH"
cargo install --path cli --force --locked
bolt init test-project --force
cd test-project && bolt build
cd test-project
cargo add --package position --path "../crates/bolt-lang" # Overrides the version with the local version
cargo add --package movement --path "../crates/bolt-lang" # -
yarn add file:../clients/bolt-sdk/ -D # Overrides the bolt ts SDK with the local version
bolt build
bolt test
- uses: actions/upload-artifact@v3
if: always()
Expand Down

0 comments on commit 019d470

Please sign in to comment.