Skip to content

Step Functions Legacy Lambda Span Linking #1493

Step Functions Legacy Lambda Span Linking

Step Functions Legacy Lambda Span Linking #1493

Workflow file for this run

name: build
on:
push:
branches:
- "main"
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install .[dev]
- name: Check formatting
run: |
source venv/bin/activate
./scripts/check_format.sh
- name: Lint
run: |
source venv/bin/activate
flake8 datadog_lambda/
unit-test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install virtualenv
virtualenv venv
source venv/bin/activate
pip install .[dev]
- name: Run tests
run: |
source venv/bin/activate
pytest -vv