-
Notifications
You must be signed in to change notification settings - Fork 6
35 lines (34 loc) · 911 Bytes
/
examples-ci.yaml
File metadata and controls
35 lines (34 loc) · 911 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Examples-CI
on:
push:
branches:
- main
pull_request:
jobs:
examples:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./examples
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Setup Node.js
uses: actions/setup-node@master
with:
node-version: 'v18.16.0'
- name: Install poetry
run: curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: poetry install
- name: Start polywrap infra
run: npx polywrap infra up --modules=eth-ens-ipfs
- name: Codegen
run: yarn codegen
working-directory: ./packages/polywrap-client
- name: Run tests
run: poetry run pytest -v