[CI] Decouple deploying contracts from compilation #1521
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 a local ethereum network and tests contracts. | |
name: Solidity tests | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
workflow_call: | |
jobs: | |
test: | |
name: Test solidity contracts | |
runs-on: self-hosted | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Run tests | |
shell: bash | |
run: make test-solidity |