Skip to content

Commit 2c01527

Browse files
authored
Merge pull request #334 from moonstream-to/terminus-migration
Terminus migration
2 parents 4c82726 + 78b63c0 commit 2c01527

27 files changed

+5623
-57
lines changed

.github/workflows/terminus.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Terminus protocol tests
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "contracts/terminus/**"
7+
- "contracts/mock/**"
8+
- "cli/web3cli/test_terminus.py"
9+
- "cli/web3cli/TerminusFacet.py"
10+
- ".github/workflows/terminus.yml"
11+
branches:
12+
- main
13+
jobs:
14+
build:
15+
runs-on: ubuntu-20.04
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: "16"
21+
- uses: actions/setup-python@v2
22+
with:
23+
python-version: "3.9"
24+
- name: Install ganache
25+
run: npm install -g ganache-cli
26+
- name: Upgrade pip
27+
env:
28+
BROWNIE_LIB: 1
29+
run: pip install -U pip
30+
- name: Install additional dev dependencies
31+
run: |
32+
pip install black moonworm
33+
- name: Install dependencies for CLI
34+
working-directory: cli/
35+
env:
36+
BROWNIE_LIB: 1
37+
run: |
38+
pip install -e .
39+
- name: Run tests
40+
working-directory: cli/
41+
run: bash test.sh web3cli.test_terminus

0 commit comments

Comments
 (0)