Skip to content

Commit

Permalink
Merge pull request #328 from moonstream-to/statblock
Browse files Browse the repository at this point in the history
Implementation of `StatBlock`
  • Loading branch information
zomglings authored Aug 21, 2023
2 parents 151e7cb + 892b53d commit 4c82726
Show file tree
Hide file tree
Showing 14 changed files with 3,614 additions and 3 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/statblock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: StatBlock tests

on:
pull_request:
paths:
- "contracts/stats/**"
- "cli/web3cli/test_statblock.py"
- "cli/web3cli/StatBlock.py"
- "cli/web3cli/IStatBlock.py"
- "cli/web3cli/statblock_events.py"
- ".github/workflows/statblock.yml"
branches:
- main
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
- uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install ganache
run: npm install -g ganache-cli
- name: Upgrade pip
env:
BROWNIE_LIB: 1
run: pip install -U pip
- name: Install additional dev dependencies
run: |
pip install black moonworm
- name: Install dependencies for CLI
working-directory: cli/
env:
BROWNIE_LIB: 1
run: |
pip install -e .
- name: Run tests
working-directory: cli/
run: bash test.sh web3cli.test_statblock
Loading

0 comments on commit 4c82726

Please sign in to comment.