Skip to content

Commit

Permalink
ci: Build mock reflector in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
kovipu committed Aug 31, 2024
1 parent 3f1d060 commit 9435870
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 22 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ jobs:
cargo build --release --target wasm32-unknown-unknown
cd ../..
- name: Build mock Reflector
run: |
cd contracts/reflector_mock
cargo build --release --target wasm32-unknown-unknown
cd ../..
- name: Build Loan pool contract
run: |
cd contracts/loan_pool
cargo build --release --target wasm32-unknown-unknown
cd ../..
- name: Build
run: cargo build --release --target wasm32-unknown-unknown

Expand Down
2 changes: 0 additions & 2 deletions contracts/reflector_mock/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,3 @@ impl MockPriceOracleContract {
})
}
}

mod test;
20 changes: 0 additions & 20 deletions contracts/reflector_mock/src/test.rs

This file was deleted.

0 comments on commit 9435870

Please sign in to comment.