-
Notifications
You must be signed in to change notification settings - Fork 24
43 lines (38 loc) · 1.46 KB
/
Copy pathtest-parser.yml
File metadata and controls
43 lines (38 loc) · 1.46 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
37
38
39
40
41
42
43
name: Test GitHub Scripts
on:
pull_request:
paths:
- '.github/scripts/build_lambda_layer.py'
- '.github/scripts/check_otel_wheel_dependencies.py'
- '.github/scripts/parse_sdk_branch.py'
- '.github/scripts/tests/**'
- '.github/workflows/ai-pr-review.yml'
- '.github/workflows/opentelemetry-conformance-tests.yml'
- 'packages/aws-durable-execution-sdk-python-otel/pyproject.toml'
push:
branches: [ main ]
paths:
- '.github/scripts/build_lambda_layer.py'
- '.github/scripts/check_otel_wheel_dependencies.py'
- '.github/scripts/parse_sdk_branch.py'
- '.github/scripts/tests/**'
- '.github/workflows/ai-pr-review.yml'
- '.github/workflows/opentelemetry-conformance-tests.yml'
- 'packages/aws-durable-execution-sdk-python-otel/pyproject.toml'
permissions:
contents: read
jobs:
test-scripts:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install test dependencies
run: python -m pip install packaging pytest
- name: Run script tests
run: |
python -m pytest \
.github/scripts/tests/test_ai_pr_review_workflow.py \
.github/scripts/tests/test_build_lambda_layer.py \
.github/scripts/tests/test_check_otel_wheel_dependencies.py \
.github/scripts/tests/test_opentelemetry_conformance_workflow.py \
.github/scripts/tests/test_parse_sdk_branch.py