Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE-212: remove unused crates #215

Merged
merged 27 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 14 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
needs: [rustfmt]
strategy:
matrix:
crate: [rosetta-server-astar, rosetta-server-bitcoin, rosetta-server-ethereum, rosetta-server-polkadot, rosetta-client]
crate: [rosetta-server-astar, rosetta-server-ethereum, rosetta-server-polkadot, rosetta-client, rosetta-testing-arbitrum]
name: ${{ matrix.crate }}
runs-on: self-hosted
steps:
Expand Down Expand Up @@ -94,6 +94,16 @@ jobs:

- name: Pull nodes
run: ./scripts/pull_nodes.sh

- name: Checkout nitro-testnode
if: ${{ matrix.crate == 'rosetta-testing-arbitrum' }}
run: git clone -b release --depth=1 --no-tags --recurse-submodules https://github.com/ManojJiSharma/nitro-testnode.git

- name: Start arbitrum nitro-testnode
if: ${{ matrix.crate == 'rosetta-testing-arbitrum' }}
run: |
cd nitro-testnode
./test-node.bash --detach

- name: test (${{ matrix.crate }})
run: cargo test --locked -p ${{ matrix.crate }}
Expand All @@ -119,20 +129,12 @@ jobs:
components: clippy
target: x86_64-unknown-linux-musl
override: true

- name: Checkout code
run: git clone -b release --recurse-submodules https://github.com/ManojJiSharma/nitro-testnode.git

- name: Run the arbitrum nitro-testnode
run: |
cd nitro-testnode
./test-node.bash --detach

- name: clippy
run: |
cargo clippy --locked --workspace --examples --tests --all-features \
--exclude rosetta-testing-arbitrum \
--exclude rosetta-server-astar \
--exclude rosetta-server-bitcoin \
--exclude rosetta-server-ethereum \
--exclude rosetta-server-polkadot \
--exclude rosetta-client \
Expand All @@ -150,11 +152,11 @@ jobs:
- name: cargo test
run: |
cargo test --locked --workspace --all-features \
--exclude rosetta-testing-arbitrum \
--exclude rosetta-server-astar \
--exclude rosetta-server-bitcoin \
--exclude rosetta-server-ethereum \
--exclude rosetta-server-polkadot \
--exclude rosetta-client

- name: Cleanup Docker
run: ./scripts/reset_docker.sh
run: ./scripts/reset_docker.sh
Loading
Loading