[CI] Decouple deploying contracts from compilation #1062
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
# Runs unit tests for the relayer | |
name: Relayer tests | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
workflow_call: | |
jobs: | |
test: | |
name: Test relayer | |
runs-on: [self-hosted, Linux, X64, large] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: "Install Rust toolchain" | |
uses: Cardinal-Cryptography/github-actions/install-rust-toolchain@v6 | |
- name: Run tests | |
shell: bash | |
run: | | |
make test-relayer | |
make test-relayer-l2 |