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: refactor unit test workflow #1354

Merged
merged 2 commits into from
Aug 24, 2023
Merged

ci: refactor unit test workflow #1354

merged 2 commits into from
Aug 24, 2023

Conversation

Flouse
Copy link
Contributor

@Flouse Flouse commented Aug 23, 2023

What this PR does / why we need it?

What is the impact of this PR?

  • No Breaking Change
  • With cache, cargo clippy takes only 5 minutes.
  • With cache, cargo test takes only 7 minutes.
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 rust Pull requests that update Rust code skip_changelog refactor chore labels Aug 23, 2023
@Flouse Flouse requested a review from yangby-cryptape August 23, 2023 15:12
@Flouse Flouse self-assigned this Aug 23, 2023
@yangby-cryptape
Copy link
Collaborator

The CI scripts are fine, their failure due to bugs.

The "metadata-test" in the latest 3 commits are all failed on current default branch.

In current default branch, the "metadata-test" has a 100% chance to fail, "v3-core-test" is 80%.

@KaoImin
Copy link
Contributor

KaoImin commented Aug 24, 2023

The CI scripts are fine, their failure due to bugs.

The "metadata-test" in the latest 3 commits are all failed on current default branch.

In current default branch, the "metadata-test" has a 100% chance to fail, "v3-core-test" is 80%.

The metadata-test written in js is outdated and has been removed in #1355.

@Flouse Flouse requested a review from KaoImin August 24, 2023 06:39
@Flouse Flouse marked this pull request as ready for review August 24, 2023 06:39
@Flouse Flouse requested a review from a team as a code owner August 24, 2023 06:39
@Flouse Flouse enabled auto-merge August 24, 2023 06:39
@yangby-cryptape
Copy link
Collaborator

yangby-cryptape commented Aug 24, 2023

No space left on device

Limit is 14 GB of SSD space.

My suggestions:

@KaoImin KaoImin changed the title ci: refactor unit_test workflow ci: refactor unit test workflow Aug 24, 2023
@Flouse Flouse added this pull request to the merge queue Aug 24, 2023
Merged via the queue into main with commit 350e729 Aug 24, 2023
@Flouse Flouse deleted the refactor-ci branch August 24, 2023 08:30
KaoImin pushed a commit that referenced this pull request Aug 25, 2023
* ci: refactor unit_test workflow

* chore: rm the debug step in clippy.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore refactor rust Pull requests that update Rust code skip_changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants