Skip to content

feat: Update Python lambda runtime from 3.8 to 3.11 #60

feat: Update Python lambda runtime from 3.8 to 3.11

feat: Update Python lambda runtime from 3.8 to 3.11 #60

Workflow file for this run

name: Unit Test
on:
pull_request:
branches:
- main
- master
paths:
- 'functions/**'
- '.github/workflows/unit-test.yml'
defaults:
run:
working-directory: functions
jobs:
test:
name: Execute unit tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install pipenv
run: |
python -m pip install --upgrade pip
python -m pip install pipenv
- name: Install local deps
run: pipenv install --dev
- name: Lint check
run: pipenv run lint:ci
- name: Type check
run: pipenv run typecheck
- name: Unit tests
run: pipenv run test