Skip to content

HOTFIX: Add back the environmental variable for processing lambda container test #91

HOTFIX: Add back the environmental variable for processing lambda container test

HOTFIX: Add back the environmental variable for processing lambda container test #91

# This workflow will install Python dependencies and run tests in the docker container
name: Testing in pipeline container
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
container:
image: public.ecr.aws/w5r9l1c8/dev-padre-swsoc-docker-lambda-base:latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Run tests
run: pytest --pyargs padre_meddea --cov padre_meddea
env:
PLATFORM: 'docker'
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}