From e11a27d4fa16b70f1922c6533b5a630f53beb83a Mon Sep 17 00:00:00 2001 From: madhavkapila Date: Thu, 5 Mar 2026 18:16:40 +0530 Subject: [PATCH 1/2] ci: instal python bindings to fix module not found error (#172) --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8e86a2..fd571ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,9 +12,10 @@ jobs: runs-on: ubuntu-latest steps: # Required for local tests - - name: Setup MetaCall CLI - run: wget -O - https://raw.githubusercontent.com/metacall/install/master/install.sh | sh - + - name: Setup MetaCall CLI and Python Bindings + run: | + wget -O - https://raw.githubusercontent.com/metacall/install/master/install.sh | sh + pip3 install metacall - name: Setup NodeJS uses: actions/setup-node@v4 with: From a92c507802dd552168cd23b0018dc0774f6a1f63 Mon Sep 17 00:00:00 2001 From: madhavkapila Date: Thu, 5 Mar 2026 18:17:39 +0530 Subject: [PATCH 2/2] ci: enable local FaaS tests now that faas#78 is resolved (#181) --- .github/workflows/ci.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd571ce..8ea0358 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,21 +41,21 @@ jobs: echo 'METACALL_AUTH_PASSWORD="${{ secrets.METACALL_AUTH_PASSWORD }}"' >> .env npm run coverage - # # TODO: This depends on: https://github.com/metacall/faas/issues/78 - # - name: Run Tests (local) - # run: | - # cd .. - # git clone https://github.com/metacall/faas.git - # cd faas - # npm install - # npm run build - # node dist/index.js --version - # cd ../deploy - # export TEST_DEPLOY_LOCAL="true" - # node ../faas/dist/index.js & - # sleep 10 - # mv .env.example .env - # npm run coverage + # Run local tests integrating to faas for pull requests to ensure that the CLI works correctly without relying on the production environment + - name: Run Tests (local) + run: | + cd .. + git clone https://github.com/metacall/faas.git + cd faas + npm install + npm run build + node dist/index.js --version + cd ../deploy + export TEST_DEPLOY_LOCAL="true" + node ../faas/dist/index.js & + sleep 10 + mv .env.example .env + npm run coverage - name: Publish uses: JS-DevTools/npm-publish@v1