-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (32 loc) · 1.02 KB
/
pr-build-python.yml
File metadata and controls
36 lines (32 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Pull Request Build - Python
on:
pull_request:
paths:
- 'python/**'
- 'opentelemetry-lambda/**'
- '.github/workflows/*-python.yml'
- '.github/workflows/tests.yml'
- '!python/sample-apps/template.yaml'
- '!**/*.md'
jobs:
build-artifacts:
uses: ./.github/workflows/build-artifacts.yml
with:
BUILD_COMMAND: make build-python
LANGUAGE: python
ARTIFACT_ARCHIVE_BASE_NAME: opentelemetry-python
ARTIFACT_NAME: ${{ github.head_ref }}
create-dev-lambda-layer:
needs: build-artifacts
uses: ./.github/workflows/publish-dev-layer.yml
with:
ARTIFACT_ARCHIVE_BASE_NAME: opentelemetry-python
ARTIFACT_NAME: ${{ github.head_ref }}
LANGUAGE: python
run-tests:
needs: create-dev-lambda-layer
uses: ./.github/workflows/tests.yml
with:
LANGUAGE: python
LAYER_ARN_AMD64: ${{ needs.create-dev-lambda-layer.outputs.lambdalayeramd64 }}
LAYER_ARN_ARM64: ${{ needs.create-dev-lambda-layer.outputs.lambdalayerarm64 }}