Skip to content

build(deps): bump the actions group across 1 directory with 7 updates #115

build(deps): bump the actions group across 1 directory with 7 updates

build(deps): bump the actions group across 1 directory with 7 updates #115

Workflow file for this run

name: "Continuous Build (Python)"
on:
push:
paths:
- 'python/**'
- '.github/workflows/ci-python.yml'
branches:
- main
pull_request:
paths:
- 'python/**'
- '.github/workflows/ci-python.yml'
branches:
- main
env:
AWS_REGION: us-east-1
# Copied this CORE_REPO_SHA from
# https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/.github/workflows/test.yml#L9
CORE_REPO_SHA: v1.19.0
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# If you add a python version here, please make sure that the collector/Makefile publish and publish-layer targets
# get updated as well
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout this repo
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Python for OTel Python SDK
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
with:
python-version: ${{ matrix.python }}
- name: Install tox testing package
working-directory: python/src
run: |
pip install tox
tox
- name: Set up Go for ADOT Collector
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: '^1.20.8'
- name: Build Python Layer which includes ADOT Collector
working-directory: python/src
run: ./run.sh -b