Skip to content

Commit

Permalink
Update .github/workflows/tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s-damian committed Aug 17, 2024
1 parent 6ba901e commit 9ca2d6e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,20 @@ jobs:
cargo install --git https://github.com/coral-xyz/anchor anchor-cli --tag v0.30.1 || echo "Anchor installation failed"
anchor --version || echo "Anchor version not found"
- name: Debug Project Structure
run: |
echo "Current directory: $(pwd)"
echo "Directory structure:"
tree -L 3 || ls -R
echo "Anchor.toml content:"
cat Anchor.toml || echo "Anchor.toml not found"
echo "Cargo.toml content:"
cat Cargo.toml || echo "Cargo.toml not found"
echo "Program Cargo.toml content:"
cat programs/*/Cargo.toml || echo "Program Cargo.toml not found"
- name: Debug Environment
run: |
echo "Current directory: $(pwd)"
Expand All @@ -51,6 +65,7 @@ jobs:
run: anchor build
continue-on-error: true


- name: Debug Build Failure
if: failure()
run: |
Expand All @@ -64,5 +79,6 @@ jobs:
echo "Cargo.toml content:"
cat Cargo.toml || echo "Cargo.toml not found"
- name: Run Anchor Tests
run: anchor test

0 comments on commit 9ca2d6e

Please sign in to comment.