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

ci: avoid using cargo-clippy cache in rust-unit-test #1356

Closed
wants to merge 1 commit into from

Conversation

Flouse
Copy link
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 added github_actions Pull requests that update GitHub Actions code rust Pull requests that update Rust code skip_changelog bugfix chore labels Aug 24, 2023
@Flouse Flouse requested a review from yangby-cryptape August 24, 2023 09:48
@Flouse Flouse self-assigned this Aug 24, 2023
@Flouse Flouse requested a review from a team as a code owner August 24, 2023 09:48
@Flouse Flouse requested a review from ashuralyk August 24, 2023 09:48
@Flouse Flouse changed the title ci(unit_test): avoid using cargo-clippy cache fix(github_actions): avoid using cargo-clippy cache Aug 24, 2023
@Flouse Flouse changed the title fix(github_actions): avoid using cargo-clippy cache fix(github_actions): avoid using cargo-clippy cache in rust-unit-test Aug 24, 2023
@Flouse Flouse requested review from KaoImin and removed request for ashuralyk August 24, 2023 09:54
@Flouse Flouse changed the title fix(github_actions): avoid using cargo-clippy cache in rust-unit-test ci: avoid using cargo-clippy cache in rust-unit-test Aug 24, 2023
@Flouse
Copy link
Contributor Author

Flouse commented Aug 24, 2023

@Flouse Flouse closed this Aug 24, 2023
@Flouse Flouse deleted the ci-fix-unit-test branch August 25, 2023 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix chore github_actions Pull requests that update GitHub Actions code rust Pull requests that update Rust code skip_changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant