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 axon start with short genesis workflow #1341

Merged
merged 6 commits into from
Aug 22, 2023
Merged

Conversation

Flouse
Copy link
Contributor

@Flouse Flouse commented Aug 21, 2023

What this PR does / why we need it?

cargo build takes a lot of time
=> This PR cache the building result with commit_id in the cache-key, so we don't have to build Axon from zero in every GitHub action workflow.
=> With cargo cache, the Build Axon step only takes 90 seconds.
=> The workflows such as openzeppelin_tests will consume ~20 mins less.

What is the impact of this PR?

CI Settings

CI Usage

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

CI Switch

  • Cargo Clippy
  • Coverage Test
  • E2E Tests
  • Code Format
  • Unit Tests
  • 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 refactor chore labels Aug 21, 2023
@Flouse Flouse requested a review from a team as a code owner August 21, 2023 16:01
@Flouse Flouse self-assigned this Aug 21, 2023
@Flouse Flouse requested review from ashuralyk, felicityin, jiangxianliang007 and yangby-cryptape and removed request for ashuralyk and felicityin August 21, 2023 16:01
@Flouse
Copy link
Contributor Author

Flouse commented Aug 21, 2023

/run-ci

@axon-bot
Copy link

axon-bot bot commented Aug 21, 2023

CI tests run on commit:

CI test list:

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

Please check ci test results later.

@KaoImin KaoImin changed the title chore: refactor workflows/axon-start-with-short-genesis ci: refactor axon start with short genesis workflow Aug 22, 2023
@Flouse Flouse requested a review from Simon-Tl August 22, 2023 07:40
@KaoImin KaoImin added this pull request to the merge queue Aug 22, 2023
Merged via the queue into main with commit 1ae38df Aug 22, 2023
@KaoImin KaoImin deleted the start-nodes branch August 22, 2023 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore github_actions Pull requests that update GitHub Actions code refactor skip_changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: refactor workflows/axon-start-with-short-genesis.yml
4 participants