Skip to content

chore: refactor CI workflows and PR template#1381

Merged
KaoImin merged 5 commits intomainfrom
flouse/refactor-ci
Aug 29, 2023
Merged

chore: refactor CI workflows and PR template#1381
KaoImin merged 5 commits intomainfrom
flouse/refactor-ci

Conversation

@Flouse
Copy link
Contributor

@Flouse Flouse commented Aug 29, 2023

What this PR does / why we need it?

This PR

  • follows ci: refactor unit test workflow #1354,
    tries to make CIs simpler, triggered automatically.
  • chore: fix some small issues in Makefile and the PR template
  • CI changes:
    • only run workflows in ubuntu-22.04 to reduce the total cache size
    • run cargo fmt for every PR

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

  • E2E 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 chore labels Aug 29, 2023
@Flouse Flouse requested a review from KaoImin August 29, 2023 06:22
@Flouse Flouse requested a review from a team as a code owner August 29, 2023 06:22
@Flouse Flouse self-assigned this Aug 29, 2023
@Flouse Flouse requested a review from jjyr August 29, 2023 06:22
-use crate::types::{Address, Bytes, DBBytes, Hex, Key256Bits, TypesError, H160, U256, HEX_PREFIX};
+use crate::types::{Address, Bytes, DBBytes, Hex, Key256Bits, TypesError, H160, HEX_PREFIX, U256};
@Flouse Flouse requested review from chaoticlonghair and removed request for jjyr August 29, 2023 06:26
@KaoImin KaoImin changed the title chore: refactor CI workflows chore: refactor CI workflows and PR template Aug 29, 2023
@KaoImin KaoImin enabled auto-merge August 29, 2023 06:49
@KaoImin KaoImin added this pull request to the merge queue Aug 29, 2023
Merged via the queue into main with commit 2968ff6 Aug 29, 2023
@Flouse Flouse deleted the flouse/refactor-ci branch August 29, 2023 10:18
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.

3 participants