feat(metrics): tests (#58) #220
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
name: Run Integration Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Install nightly Rust | |
run: rustup toolchain install nightly | |
- name: Install rustfmt for nightly | |
run: rustup component add rustfmt --toolchain nightly | |
- name: Cache Rust dependencies | |
uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- name: clippy | |
uses: dtolnay/rust-toolchain@clippy | |
- name: Install Foundry | |
run: cargo install --git https://github.com/foundry-rs/foundry --profile release --locked forge cast chisel anvil | |
- name: docker | |
uses: docker-practice/actions-setup-docker@master | |
- name: Run make pr | |
run: make pr | |