Skip to content

ci(unit test): avoid using cargo-clippy cache#1357

Merged
chaoticlonghair merged 1 commit intomainfrom
ci-fix-unit-test
Aug 24, 2023
Merged

ci(unit test): avoid using cargo-clippy cache#1357
chaoticlonghair merged 1 commit intomainfrom
ci-fix-unit-test

Conversation

@Flouse
Copy link
Copy Markdown
Contributor

@Flouse Flouse commented Aug 24, 2023

Related Error Action Run

What this PR does / why we need it?

This PR fixes #1354 (comment)

Because there is only 14 GB of SSD space on a GitHub hosted runner.
see https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

Axon is a big project.
cargo clippy and cargo test can not be run together in a GitHub-hosted nunner.

What is the impact of this PR?

No Breaking Change

CI Settings

CI Usage

Tip: Check the CI you want to run below, and then comment /run-ci.

CI Switch

  • Coverage Test
  • E2E Tests
  • Code Format
  • Web3 Compatible Tests
  • OCT 1-5 And 12-15
  • OCT 6-10
  • OCT 11
  • OCT 16-19
  • v3 Core Tests

CI Description

CI Name Description
Chaos CI Test the liveness and robustness of Axon under terrible network condition
Cargo Clippy Run cargo clippy --all --all-targets --all-features
Coverage Test Get the unit test coverage report
E2E Test Run end-to-end test to check interfaces
Code Format Run cargo +nightly fmt --all -- --check and cargo sort -gwc
Web3 Compatible Test Test the Web3 compatibility of Axon
v3 Core Test Run the compatibility tests provided by Uniswap V3
OCT 1-5 | 6-10 | 11 | 12-15 | 16-19 Run the compatibility tests provided by OpenZeppelin

@Flouse Flouse requested a review from a team as a code owner August 24, 2023 13:00
@KaoImin KaoImin changed the title ci(unit_test): avoid using cargo-clippy cache ci(unit test): avoid using cargo-clippy cache Aug 24, 2023
@chaoticlonghair chaoticlonghair added this pull request to the merge queue Aug 24, 2023
Merged via the queue into main with commit 4fe0ef2 Aug 24, 2023
@KaoImin KaoImin deleted the ci-fix-unit-test branch August 24, 2023 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants