File tree Expand file tree Collapse file tree 2 files changed +29
-15
lines changed Expand file tree Collapse file tree 2 files changed +29
-15
lines changed Original file line number Diff line number Diff line change
1
+ name : AWS CodeBuild CI
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ # Run once a day
7
+ schedule :
8
+ - cron : ' 0 0 * * *'
9
+
10
+ permissions :
11
+ id-token : write
12
+ contents : read
13
+
14
+ jobs :
15
+ codebuild-tests :
16
+ name : AWS CodeBuild CI
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - name : Configure AWS Credentials
20
+ uses : aws-actions/configure-aws-credentials@v2
21
+ with :
22
+ role-to-assume : ${{ secrets.CI_AWS_ROLE_ARN }}
23
+ aws-region : us-west-2
24
+ role-duration-seconds : 3600
25
+ - name : Run CodeBuild CI
26
+ uses : aws-actions/aws-codebuild-run-build@v1
27
+ timeout-minutes : 60
28
+ with :
29
+ project-name : python-esdk
Original file line number Diff line number Diff line change 83
83
env :
84
84
TOXENV : ${{ matrix.category }}
85
85
run : tox -- -vv
86
- codebuild-tests :
87
- name : CodeBuild CI
88
- runs-on : ubuntu-latest
89
- steps :
90
- - name : Configure AWS Credentials
91
- uses : aws-actions/configure-aws-credentials@v2
92
- with :
93
- role-to-assume : ${{ secrets.CI_AWS_ROLE_ARN }}
94
- aws-region : us-west-2
95
- role-duration-seconds : 3600
96
- - name : Run CodeBuild CI
97
- uses : aws-actions/aws-codebuild-run-build@v1
98
- timeout-minutes : 60
99
- with :
100
- project-name : python-esdk
You can’t perform that action at this time.
0 commit comments