Skip to content

Fix bug in handler import module & add tests #10

Fix bug in handler import module & add tests

Fix bug in handler import module & add tests #10

Workflow file for this run

name: Python Layer CI
on:
push:
branches: [master]
paths:
- "python/**"
pull_request:
paths:
- "python/**"
workflow_dispatch:
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Install Python Dependencies
run: pip install pytest requests
- name: Install Node Dependencies
run: npm ci
working-directory: python
- name: Run Tests
run: pytest tests/
working-directory: python
env:
PYTHON_RUNTIME: "python${{ matrix.python-version }}"