diff --git a/.circleci/config.yml b/.circleci/config.yml index a266eaea3..97fd1315a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2.1 orbs: - codecov: codecov/codecov@3.2.5 + codecov: codecov/codecov@4.1.0 win: circleci/windows@5.0 commands: @@ -967,9 +967,18 @@ jobs: coverage: docker: - - image: rust:1.74.0 + - image: rust:1.82.0-alpine3.19 + environment: + # Limit the number of parallel jobs to avoid OOM crashes during doc testing + RUST_TEST_THREADS: 8 + resource_class: medium+ steps: - checkout + - run: + name: Install necessary packages + command: | + apk update + apk add mold clang curl coreutils gnupg - run: name: Install grcov command: | @@ -990,6 +999,9 @@ jobs: environment: RUSTFLAGS: "-Cinstrument-coverage" LLVM_PROFILE_FILE: "cosmwasm-%p-%m.profraw" + - run: + name: Quick fix for GPG error in Codecov + command: mkdir -p ~/.gnupg - codecov/upload: file: reports/crypto.info flags: cosmwasm-crypto