Skip to content

chore(deps-dev): bump mkdocs-material from 9.5.21 to 9.5.22 (#4324) #1005

chore(deps-dev): bump mkdocs-material from 9.5.21 to 9.5.22 (#4324)

chore(deps-dev): bump mkdocs-material from 9.5.21 to 9.5.22 (#4324) #1005

Workflow file for this run

name: Run end-to-end tests
# PROCESS
#
# 1. Install all dependencies and spin off containers for all supported Python versions
# 2. Install pinned CDK version
# 3. Trade JWT token for AWS credentials to Test account
# 4. Run E2E in parallel for each feature
# USAGE
#
# see MAINTAINERS.md#internals for full details on mechanics.
#
# Always triggered on new PR merge.
on:
workflow_dispatch:
push:
branches:
- develop
- v3
paths:
- "aws_lambda_powertools/**"
- "tests/e2e/**"
- "pyproject.toml"
- "poetry.lock"
- "mypy.ini"
- "parallel_run_e2e.py"
# Maintenance: Add support for triggering on `run-e2e` label
# and enforce repo origin to prevent abuse
env:
AWS_DEFAULT_REGION: us-east-1
concurrency: e2e
permissions:
contents: read
jobs:
run:
runs-on: aws-powertools_ubuntu-latest_8-core
permissions:
id-token: write # needed to request JWT with GitHub's OIDC Token endpoint. docs: https://bit.ly/3MNgQO9
contents: read # checkout code
strategy:
fail-fast: false # needed so if a version fails, the others will still be able to complete and cleanup
matrix:
version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
if: ${{ github.actor != 'dependabot[bot]' && github.repository == 'aws-powertools/powertools-lambda-python' }}
steps:
- name: "Checkout"
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- name: Install poetry
run: pipx install poetry
- name: "Use Python"
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ matrix.version }}
architecture: "x64"
cache: "poetry"
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: "20.10.0"
- name: Install CDK CLI
run: |
npm ci
npx cdk --version
- name: Install dependencies
run: make dev
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@5fd3084fc36e372ff1fff382a39b10d03659f355 # v2.2.0
with:
role-to-assume: ${{ secrets.AWS_TEST_ROLE_ARN }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}
- name: Test
run: make e2e-test