Skip to content

Update README.md

Update README.md #20

Workflow file for this run

name: Build and Test
on:
pull_request: {}
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Set Node to v16
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install smartpy
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Install SmartPy
run: |
yes | bash <(curl -s https://smartpy.io/cli/install.sh)
- name: Ensure Contracts Compile
run: npm run compile
- name: Unit Test
run: npm run test