Skip to content

Try out the new multi-directory support in dependabot. (#1283) #21

Try out the new multi-directory support in dependabot. (#1283)

Try out the new multi-directory support in dependabot. (#1283) #21

Workflow file for this run

name: "Continuous Build (Python)"
on:
push:
paths:
- 'python/**'
branches:
- main
pull_request:
paths:
- 'python/**'
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
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.8', '3.9', '3.10', '3.11']
steps:
- name: Checkout this repo
uses: actions/checkout@v4
- name: Setup Python for OTel Python SDK
uses: actions/setup-python@v5
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@v5
with:
go-version: '^1.20.8'
- name: Build Python Layer which includes ADOT Collector
working-directory: python/src
run: ./run.sh -b