Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ jobs:
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 -
Expand Down
20 changes: 18 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
- id: set-matrix
run: echo "matrix=$(./scripts/getPackages.sh)" >> $GITHUB_ENV
run: echo "matrix=$(python3 ./scripts/get_packages.py)" >> $GITHUB_ENV
- name: Read matrix into env.matrix
run: echo ${{ env.matrix }}
build:
runs-on: ubuntu-latest
needs:
Expand All @@ -23,18 +29,28 @@ jobs:
matrix: ${{fromJSON(needs.getPackages.outputs.matrix)}}
defaults:
run:
working-directory: ./packages/${{ matrix.package }}
working-directory: ${{ matrix.package }}
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: Plugin Codegen
run: yarn codegen
if: contains(matrix.package, 'plugins')
- name: Config Bundle Codegen
run: yarn codegen
if: contains(matrix.package, 'config-bundles')
- name: Typecheck
run: poetry run tox -e typecheck
- name: Lint
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/post-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ jobs:
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 -

Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
wrappers/
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# polywrap-sys-config-bundle
1 change: 1 addition & 0 deletions packages/config-bundles/polywrap-sys-config-bundle/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.0b1
11 changes: 11 additions & 0 deletions packages/config-bundles/polywrap-sys-config-bundle/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "@polywrap/python-sys-config-bundle",
"version": "0.10.6",
"private": true,
"scripts": {
"codegen": "yarn codegen:http && yarn codegen:fs && yarn codegen:ethereum",
"codegen:http": "cd ../../plugins/polywrap-http-plugin && yarn codegen && cd ../../config-bundles/polywrap-sys-config-bundle",
"codegen:fs": "cd ../../plugins/polywrap-fs-plugin && yarn codegen && cd ../../config-bundles/polywrap-sys-config-bundle",
"codegen:ethereum": "cd ../../plugins/polywrap-ethereum-provider && yarn codegen && cd ../../config-bundles/polywrap-sys-config-bundle"
}
}
Loading