forked from aws/aws-sam-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (51 loc) · 1.43 KB
/
cdk-sam-cli-integration-testing.yml
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
44
45
46
47
48
49
50
51
52
53
54
name: Test the integration between SAM CLI and Latest CDK version
on:
schedule:
- cron: "0 13 * * 1-5" # run 1PM UTC (6 am PDT) in every weekday
workflow_dispatch: {}
# to automatically cancel the running workflow for same PR.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
integration-tests:
name: Integration Tests / ${{ matrix.python }}
# if: github.repository == 'aws/aws-sam-cli'
runs-on: ubuntu-latest
env:
AWS_DEFAULT_REGION: us-east-1
SAM_CLI_DEV: 1
NOSE_PARAMETERIZED_NO_WARN: 1
APPVEYOR_CONSOLE_DISABLE_PTY: false
APPVEYOR_DETAILED_SHELL_LOGGING: true
strategy:
matrix:
python:
- "3.7"
- "3.8"
- "3.11"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
# set last version as the one in matrix to make it default
python-version: |
3.9
${{ matrix.python }}
- uses: actions/setup-go@v4
with:
go-version: '1.19'
- uses: ruby/setup-ruby@v1
with:
ruby-version: "2.7"
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '8'
- uses: actions/setup-node@v3
with:
node-version: 14
- name: Init samdev
run: make init
- name: Run CDK integration tests
run: pytest -vv tests/iac_integration