Skip to content

Commit

Permalink
Added Terminus tests to CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
zomglings committed Aug 21, 2023
1 parent 364c5c3 commit ef54bea
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/terminus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Inventory system tests

on:
pull_request:
paths:
- "contracts/terminus/**"
- "contracts/mock/**"
- "cli/web3cli/test_terminus.py"
- "cli/web3cli/TerminusFacet.py"
- ".github/workflows/terminus.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_terminus

0 comments on commit ef54bea

Please sign in to comment.