Repository navigation
test: run the JS SDK examples on the local runner #208
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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/js_examples/**' | |
| - '.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/js_examples/**' | |
| - '.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 PyYAML==6.0.2 | |
| - 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_js_examples.py \ | |
| .github/scripts/tests/test_opentelemetry_conformance_workflow.py \ | |
| .github/scripts/tests/test_parse_sdk_branch.py |