Skip to content

Fixing Issues With MultiConcurrency Testing #79

Fixing Issues With MultiConcurrency Testing

Fixing Issues With MultiConcurrency Testing #79

name: GitHub Action test lambda
on:
push:
branches: [ "*" ]
pull_request:
branches: [ main ]
permissions:
id-token: write
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.14'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ".[test]"
pip install .
- name: Use the current version of the GitHub action (Python) with wild card
uses: ./
with:
suiteFileArray: '["./github-action-test/lambda/suite*.json"]'
dockerImageName: 'public.ecr.aws/lambda/python:3.13'
taskFolder: './github-action-test/lambda/tasks/python'
- name: Clean up __pycache__ between runs to prevent side effects and start in a clean state
run: sudo find $GITHUB_WORKSPACE -type d -name __pycache__ -exec rm -rf {} +
- name: Use the current version of the GitHub action (Python)
uses: ./
with:
suiteFileArray: '["./github-action-test/lambda/suite0.json", "./github-action-test/lambda/suite1.json"]'
dockerImageName: 'public.ecr.aws/lambda/python:3.13'
taskFolder: './github-action-test/lambda/tasks/python'
- name: Clean up __pycache__ between runs to prevent side effects and start in a clean state
run: sudo find $GITHUB_WORKSPACE -type d -name __pycache__ -exec rm -rf {} +
- name: Use the current version of the GitHub action (NodeJS)
uses: ./
with:
suiteFileArray: '["./github-action-test/lambda/suite0.json"]'
dockerImageName: 'public.ecr.aws/lambda/nodejs:22'
taskFolder: './github-action-test/lambda/tasks/nodejs'