-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: carlos.vdr <carlos.vdr@semiotic.ai>
- Loading branch information
Showing
3 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Local chain tests | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
jobs: | ||
tests: | ||
strategy: | ||
fail-fast: true | ||
runs-on: ubuntu-latest | ||
name: Build and Test | ||
steps: | ||
- uses: actions/checkout@v3 | ||
name: Check out repository | ||
- name: Checkout submodules | ||
run: git submodule update --init --recursive | ||
- uses: actions/setup-node@v2 | ||
name: Set up Node.js | ||
with: | ||
node-version: "lts/gallium" | ||
- name: Install graph CLI | ||
run: | | ||
npm install -g @graphprotocol/graph-cli | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
cache: pip | ||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1 | ||
- name: Start Docker Compose | ||
run: | | ||
docker-compose up -d | ||
working-directory: ./tests | ||
- name: Installing python requirements | ||
run: | | ||
pip install -r requirements.txt | ||
working-directory: ./tests | ||
- run: | | ||
yarn | ||
./contract_init.sh | ||
name: Build and Test | ||
working-directory: ./tests |
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
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