@@ -16,13 +16,26 @@ jobs:
16
16
matrix :
17
17
operating-system : [ubuntu-latest,macos-latest,windows-latest]
18
18
pyth-version : ['3.6','3.7','3.8','3.9','3.10','3.11','3.12']
19
+ allow-fail : [false]
19
20
include :
20
21
- operating-system : ubuntu-20.04 # Checking support for ubuntu os with python 3.6
21
22
pyth-version : ' 3.6'
23
+ allow-fail : false
22
24
- operating-system : macos-13 # Checking support for mac os with python 3.6
23
25
pyth-version : ' 3.6'
26
+ allow-fail : false
24
27
- operating-system : macos-13 # Checking support for mac os with python 3.7
25
28
pyth-version : ' 3.7'
29
+ allow-fail : false
30
+ - operating-system : ubuntu-latest # arm 64 doesn't support python ver 3.7
31
+ pyth-version : ' 3.6'
32
+ allow-fail : true
33
+ - operating-system : macos-latest # arm 64 doesn't support python ver 3.6
34
+ pyth-version : ' 3.6'
35
+ allow-fail : true
36
+ - operating-system : macos-latest # arm 64 doesn't support python ver 3.7
37
+ pyth-version : ' 3.7'
38
+ allow-fail : true
26
39
exclude :
27
40
- operating-system : ubuntu-latest # arm 64 doesn't support python ver 3.7
28
41
pyth-version : ' 3.6'
@@ -35,28 +48,34 @@ jobs:
35
48
- run : echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
36
49
if : runner.os == 'Windows'
37
50
shell : pwsh
51
+ continue-on-error : ${{matrix.allow-fail}}
38
52
- run : vcpkg install openssl:x64-windows-static-md
39
53
if : runner.os == 'Windows'
40
54
shell : pwsh
55
+ continue-on-error : ${{matrix.allow-fail}}
41
56
- name : Creating separate folders for checkout repos
42
57
run : |
43
58
rm -rf $CLIENT_FOLDER
44
59
rm -rf $SAMPLE_FOLDER
45
60
mkdir $CLIENT_FOLDER $SAMPLE_FOLDER
61
+ continue-on-error : ${{matrix.allow-fail}}
46
62
- name : Checkout cybersource-rest-client-python repo
47
63
uses : actions/checkout@v4
48
64
with :
49
65
path : ${{env.CLIENT_FOLDER}}
66
+ continue-on-error : ${{matrix.allow-fail}}
50
67
- name : Checkout cybersource-rest-samples-python repo
51
68
uses : actions/checkout@v4
52
69
with :
53
70
repository : ' CyberSource/cybersource-rest-samples-python'
54
71
ref : ' testing-branch' # this is used for checking out a particular branch in repo
55
72
path : ${{env.SAMPLE_FOLDER}}
73
+ continue-on-error : ${{matrix.allow-fail}}
56
74
- name : Install Python
57
75
uses : actions/setup-python@v5
58
76
with :
59
77
python-version : ${{matrix.pyth-version}}
78
+ continue-on-error : ${{matrix.allow-fail}}
60
79
- name : Building the projects and running the Test Cases
61
80
run : |
62
81
python --version
@@ -80,16 +99,19 @@ jobs:
80
99
cd $SAMPLE_FOLDER
81
100
pip install -e .
82
101
bash ./sample_code_runner.sh
102
+ continue-on-error : ${{matrix.allow-fail}}
83
103
- name : Using Report Generation Action
84
104
id : report-generation
85
105
uses : ./cybersource-rest-client-python/.github/actions/generate-report
86
106
with :
87
107
lang : python
88
108
sample-folder-name : ${{env.SAMPLE_FOLDER}}
89
109
log-file-name : output.log
110
+ continue-on-error : ${{matrix.allow-fail}}
90
111
- name : Upload Test Reports
91
112
uses : actions/upload-artifact@v4
92
113
with :
93
114
name : sample-run-report-${{matrix.operating-system}}-python-ver-${{matrix.pyth-version}}
94
115
path : |
95
116
${{env.SAMPLE_FOLDER}}/${{steps.report-generation.outputs.result-pdf-name}}
117
+ continue-on-error : ${{matrix.allow-fail}}
0 commit comments