Skip to content

ci: refactor axon start with short genesis workflow#1341

Merged
KaoImin merged 6 commits intomainfrom
start-nodes
Aug 22, 2023
Merged

ci: refactor axon start with short genesis workflow#1341
KaoImin merged 6 commits intomainfrom
start-nodes

Conversation

@Flouse
Copy link
Copy Markdown
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, chaoticlonghair, felicityin and jiangxianliang007 and removed request for ashuralyk and felicityin August 21, 2023 16:01
@Flouse
Copy link
Copy Markdown
Contributor Author

Flouse commented Aug 21, 2023

/run-ci

@axon-bot
Copy link
Copy Markdown

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
Comment thread .github/workflows/axon-start-with-short-genesis.yml
Comment thread .github/workflows/build.yml
@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