File tree Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Expand file tree Collapse file tree 2 files changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,24 @@ jobs:
50
50
run : |
51
51
npm update --no-save
52
52
npm update --save-dev --no-save
53
- - name : Unit tests
53
+ - name : Unit tests (AWS SDK v2)
54
54
# Some tests depend on TTY support, which is missing in GA runner
55
55
# Workaround taken from https://github.com/actions/runner/issues/241#issuecomment-577360161
56
56
run : script -e -c "npm test -- -b"
57
- - name : Packaging tests
57
+ env :
58
+ SLS_AWS_SDK_V3 : ' 0'
59
+ - name : Unit tests (AWS SDK v3)
60
+ run : script -e -c "npm test -- -b"
61
+ env :
62
+ SLS_AWS_SDK_V3 : ' 1'
63
+ - name : Packaging tests (AWS SDK v2)
58
64
run : npm run integration-test-run-package
65
+ env :
66
+ SLS_AWS_SDK_V3 : ' 0'
67
+ - name : Packaging tests (AWS SDK v3)
68
+ run : npm run integration-test-run-package
69
+ env :
70
+ SLS_AWS_SDK_V3 : ' 1'
59
71
60
72
windowsNode16 :
61
73
name : ' [Windows] Node 16: Unit tests'
Original file line number Diff line number Diff line change @@ -63,12 +63,24 @@ jobs:
63
63
then
64
64
npx dump-release-notes-from-cc-changelog $NEW_VERSION
65
65
fi
66
- - name : Unit tests
66
+ - name : Unit tests (AWS SDK v2)
67
67
# Some tests depend on TTY support, which is missing in GA runner
68
68
# Workaround taken from https://github.com/actions/runner/issues/241#issuecomment-577360161
69
69
run : script -e -c "npm test -- -b"
70
- - name : Packaging tests
70
+ env :
71
+ SLS_AWS_SDK_V3 : ' 0'
72
+ - name : Unit tests (AWS SDK v3)
73
+ run : script -e -c "npm test -- -b"
74
+ env :
75
+ SLS_AWS_SDK_V3 : ' 1'
76
+ - name : Packaging tests (AWS SDK v2)
77
+ run : npm run integration-test-run-package
78
+ env :
79
+ SLS_AWS_SDK_V3 : ' 0'
80
+ - name : Packaging tests (AWS SDK v3)
71
81
run : npm run integration-test-run-package
82
+ env :
83
+ SLS_AWS_SDK_V3 : ' 1'
72
84
73
85
windowsNode16 :
74
86
name : ' [Windows] Node 16: Unit tests'
You can’t perform that action at this time.
0 commit comments