Skip to content

Commit

Permalink
Remove storage from devtools and CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chipshort committed Nov 7, 2023
1 parent c2a8d2d commit 1dcbfd1
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 52 deletions.
44 changes: 0 additions & 44 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ workflows:
- package_schema
- package_schema_derive
- package_std
- package_storage
- package_vm
- package_vm_windows
- contract_burner
Expand Down Expand Up @@ -373,37 +372,6 @@ jobs:
- target/debug/deps
key: cargocache-v2-package_std-rust:1.70.0-{{ checksum "Cargo.lock" }}

package_storage:
docker:
- image: rust:1.70.0
steps:
- checkout
- run:
name: Version information
command: rustc --version; cargo --version; rustup --version; rustup target list --installed
- restore_cache:
keys:
- cargocache-v2-package_storage-rust:1.70.0-{{ checksum "Cargo.lock" }}
- run:
name: Build library for native target
working_directory: ~/project/packages/storage
command: cargo build --locked
- run:
name: Run unit tests
working_directory: ~/project/packages/storage
command: cargo test --locked
- run:
name: Run unit tests (with iterator support)
working_directory: ~/project/packages/storage
command: cargo test --locked --features iterator
- save_cache:
paths:
- /usr/local/cargo/registry
- target/debug/.fingerprint
- target/debug/build
- target/debug/deps
key: cargocache-v2-package_storage-rust:1.70.0-{{ checksum "Cargo.lock" }}

package_vm:
docker:
- image: rust:1.70.0
Expand Down Expand Up @@ -908,14 +876,6 @@ jobs:
name: Clippy linting on std (all feature flags)
working_directory: ~/project/packages/std
command: cargo clippy --all-targets --features abort,iterator,staking,stargate,cosmwasm_1_4 -- -D warnings
- run:
name: Clippy linting on storage (no feature flags)
working_directory: ~/project/packages/storage
command: cargo clippy --all-targets -- -D warnings
- run:
name: Clippy linting on storage (all feature flags)
working_directory: ~/project/packages/storage
command: cargo clippy --all-targets --features iterator -- -D warnings
- run:
name: Clippy linting on vm (no feature flags)
working_directory: ~/project/packages/vm
Expand Down Expand Up @@ -986,7 +946,6 @@ jobs:
grcov . -s packages/derive --binary-path ./target/debug -t lcov -o ./reports/derive.info
grcov . -s packages/schema --binary-path ./target/debug -t lcov -o ./reports/schema.info
grcov . -s packages/std --binary-path ./target/debug -t lcov -o ./reports/std.info
grcov . -s packages/storage --binary-path ./target/debug -t lcov -o ./reports/storage.info
grcov . -s packages/vm --binary-path ./target/debug -t lcov -o ./reports/vm.info
environment:
RUSTFLAGS: "-Cinstrument-coverage"
Expand All @@ -1003,9 +962,6 @@ jobs:
- codecov/upload:
file: reports/std.info
flags: cosmwasm-std
- codecov/upload:
file: reports/storage.info
flags: cosmwasm-storage
- codecov/upload:
file: reports/vm.info
flags: cosmwasm-vm
Expand Down
1 change: 0 additions & 1 deletion .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ pull_request_rules:
- "status-success=ci/circleci: package_schema"
- "status-success=ci/circleci: package_schema_derive"
- "status-success=ci/circleci: package_std"
- "status-success=ci/circleci: package_storage"
- "status-success=ci/circleci: package_vm"
- "status-success=ci/circleci: package_vm_windows"
actions:
Expand Down
3 changes: 0 additions & 3 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,3 @@ flags:
cosmwasm-std:
paths:
- packages/std/
cosmwasm-storage:
paths:
- packages/storage/
1 change: 0 additions & 1 deletion devtools/check_workspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ cargo fmt
cargo wasm-debug --features iterator,staking,stargate
cargo clippy --all-targets --features iterator,staking,stargate -- -D warnings
)
(cd packages/storage && cargo build && cargo clippy --all-targets --features iterator -- -D warnings)
(cd packages/schema && cargo build && cargo clippy --all-targets -- -D warnings)
(cd packages/schema-derive && cargo build && cargo clippy --all-targets -- -D warnings)
(cd packages/vm && cargo build --features iterator,stargate && cargo clippy --all-targets --features iterator,stargate -- -D warnings)
Expand Down
1 change: 0 additions & 1 deletion devtools/clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ command -v shellcheck >/dev/null && shellcheck "$0"

(cd packages/std && cargo clean)
(cd packages/crypto && cargo clean)
(cd packages/storage && cargo clean)
(cd packages/schema && cargo clean)
(cd packages/vm && cargo clean)
1 change: 0 additions & 1 deletion devtools/deadlinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ def check_project(project):
"cosmwasm_derive",
"cosmwasm_schema",
"cosmwasm_std",
"cosmwasm_storage",
"cosmwasm_vm"
]

Expand Down
1 change: 0 additions & 1 deletion devtools/test_workspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ command -v shellcheck >/dev/null && shellcheck "$0"
cargo fmt
(cd packages/crypto && cargo test)
(cd packages/std && cargo test --features iterator,cosmwasm_1_2)
(cd packages/storage && cargo test --features iterator)
(cd packages/schema && cargo test)
(cd packages/schema-derive && cargo test)
(cd packages/vm && cargo test --features iterator,stargate)

0 comments on commit 1dcbfd1

Please sign in to comment.