@@ -71,50 +71,50 @@ jobs:
7171
7272 echo "No versioned actions found in changed files"
7373
74- # build:
75- # runs-on: ubuntu-latest
76- # strategy:
77- # fail-fast: false # ensures the entire test matrix is run, even if one permutation fails
78- # matrix:
79- # python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
80- # steps:
81- # - name: Checkout Repo @ SHA - ${{ github.sha }}
82- # uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #5.0.0
83-
84- # - name: Build Wheel and Image Files
85- # uses: ./.github/actions/artifacts_build
86- # with:
87- # image_uri_with_tag: pr-build/${{ matrix.python-version }}
88- # push_image: false
89- # load_image: true
90- # python_version: ${{ matrix.python-version }}
91- # package_name: aws-opentelemetry-distro
92- # os: ubuntu-latest
93-
94- # - name: Set up and run contract tests with pytest
95- # run: |
96- # bash scripts/set-up-contract-tests.sh
97- # pip install pytest
98- # pytest contract-tests/tests
99-
100- # build-lambda:
101- # runs-on: ubuntu-latest
102- # steps:
103- # - name: Checkout Repo @ SHA - ${{ github.sha }}
104- # uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #5.0.0
105- # - uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c #v6.0.0
106- # if: ${{ matrix.language == 'python' }}
107- # with:
108- # python-version: '3.x'
109- # - name: Build sample lambda function
110- # working-directory: lambda-layer/sample-apps
111- # run: ./package-lambda-function.sh
112- # - name: Build layers
113- # working-directory: lambda-layer/src
114- # run: |
115- # ./build-lambda-layer.sh
116- # pip install tox
117- # tox
74+ build :
75+ runs-on : ubuntu-latest
76+ strategy :
77+ fail-fast : false # ensures the entire test matrix is run, even if one permutation fails
78+ matrix :
79+ python-version : ["3.9", "3.10", "3.11", "3.12", "3.13"]
80+ steps :
81+ - name : Checkout Repo @ SHA - ${{ github.sha }}
82+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
83+
84+ - name : Build Wheel and Image Files
85+ uses : ./.github/actions/artifacts_build
86+ with :
87+ image_uri_with_tag : pr-build/${{ matrix.python-version }}
88+ push_image : false
89+ load_image : true
90+ python_version : ${{ matrix.python-version }}
91+ package_name : aws-opentelemetry-distro
92+ os : ubuntu-latest
93+
94+ - name : Set up and run contract tests with pytest
95+ run : |
96+ bash scripts/set-up-contract-tests.sh
97+ pip install pytest
98+ pytest contract-tests/tests
99+
100+ build-lambda :
101+ runs-on : ubuntu-latest
102+ steps :
103+ - name : Checkout Repo @ SHA - ${{ github.sha }}
104+ uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # 5.0.0
105+ - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
106+ if : ${{ matrix.language == 'python' }}
107+ with :
108+ python-version : ' 3.x'
109+ - name : Build sample lambda function
110+ working-directory : lambda-layer/sample-apps
111+ run : ./package-lambda-function.sh
112+ - name : Build layers
113+ working-directory : lambda-layer/src
114+ run : |
115+ ./build-lambda-layer.sh
116+ pip install tox
117+ tox
118118
119119 lint :
120120 runs-on : ubuntu-latest
@@ -139,12 +139,7 @@ jobs:
139139 run_unit_tests : false
140140
141141 - name : Run ${{ matrix.tox-environment }} with tox
142- run : |
143- if [[ "${{ matrix.tox-environment }}" == "spellcheck" ]]; then
144- echo "Intentionally failing spellcheck to test gate job"
145- exit 1
146- fi
147- tox -e ${{ matrix.tox-environment }}
142+ run : tox -e ${{ matrix.tox-environment }}
148143
149144 spotless :
150145 runs-on : ubuntu-latest
0 commit comments