connect DBManager & QueryExecutor; validate query is active in reques… #240
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: test | |
on: push | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Foundry Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Install dependencies | |
run: forge soldeer install | |
id: install-dependencies | |
- name: Run unit tests | |
run: make test | |
id: test | |
- name: Run deployment tests | |
run: forge script script/VerifyV1Deployments.s.sol --ffi | |
id: deployment-tests |