Skip to content

Commit 48dbaca

Browse files
m
1 parent 0403f20 commit 48dbaca

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/ci_codebuild-tests.yml

+17-1
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,31 @@ jobs:
1515
codebuild-tests:
1616
name: AWS CodeBuild CI
1717
runs-on: ubuntu-latest
18+
strategy:
19+
python:
20+
- "38"
21+
- "39"
22+
- "310"
23+
- "311"
24+
- "312"
25+
codebuild_file_name:
26+
- "awses_local.yml"
27+
- "examples.yml"
28+
- "integ.yml"
29+
exclude:
30+
# No "awses_local" for py39
31+
- python: "39"
32+
codebuild_file_name: "awses_local.yml"
1833
steps:
1934
- name: Configure AWS Credentials
2035
uses: aws-actions/configure-aws-credentials@v2
2136
with:
2237
role-to-assume: ${{ secrets.CI_AWS_ROLE_ARN }}
2338
aws-region: us-west-2
2439
role-duration-seconds: 3600
25-
- name: Run CodeBuild CI
40+
- name: Run python-${{ matrix.python }} ${{ matrix.codebuild_file_name }}
2641
uses: aws-actions/aws-codebuild-run-build@v1
2742
timeout-minutes: 60
2843
with:
2944
project-name: python-esdk
45+
buildspec-override: codebuild/py${{ matrix.python }}/${{ matrix.codebuild_file_name }}

0 commit comments

Comments
 (0)