@@ -16,13 +16,26 @@ jobs:
1616 matrix :
1717 operating-system : [ubuntu-latest,macos-latest,windows-latest]
1818 pyth-version : ['3.6','3.7','3.8','3.9','3.10','3.11','3.12']
19+ allow-fail : [false]
1920 include :
2021 - operating-system : ubuntu-20.04 # Checking support for ubuntu os with python 3.6
2122 pyth-version : ' 3.6'
23+ allow-fail : false
2224 - operating-system : macos-13 # Checking support for mac os with python 3.6
2325 pyth-version : ' 3.6'
26+ allow-fail : false
2427 - operating-system : macos-13 # Checking support for mac os with python 3.7
2528 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
2639 exclude :
2740 - operating-system : ubuntu-latest # arm 64 doesn't support python ver 3.7
2841 pyth-version : ' 3.6'
@@ -35,28 +48,34 @@ jobs:
3548 - run : echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
3649 if : runner.os == 'Windows'
3750 shell : pwsh
51+ continue-on-error : ${{matrix.allow-fail}}
3852 - run : vcpkg install openssl:x64-windows-static-md
3953 if : runner.os == 'Windows'
4054 shell : pwsh
55+ continue-on-error : ${{matrix.allow-fail}}
4156 - name : Creating separate folders for checkout repos
4257 run : |
4358 rm -rf $CLIENT_FOLDER
4459 rm -rf $SAMPLE_FOLDER
4560 mkdir $CLIENT_FOLDER $SAMPLE_FOLDER
61+ continue-on-error : ${{matrix.allow-fail}}
4662 - name : Checkout cybersource-rest-client-python repo
4763 uses : actions/checkout@v4
4864 with :
4965 path : ${{env.CLIENT_FOLDER}}
66+ continue-on-error : ${{matrix.allow-fail}}
5067 - name : Checkout cybersource-rest-samples-python repo
5168 uses : actions/checkout@v4
5269 with :
5370 repository : ' CyberSource/cybersource-rest-samples-python'
5471 ref : ' testing-branch' # this is used for checking out a particular branch in repo
5572 path : ${{env.SAMPLE_FOLDER}}
73+ continue-on-error : ${{matrix.allow-fail}}
5674 - name : Install Python
5775 uses : actions/setup-python@v5
5876 with :
5977 python-version : ${{matrix.pyth-version}}
78+ continue-on-error : ${{matrix.allow-fail}}
6079 - name : Building the projects and running the Test Cases
6180 run : |
6281 python --version
@@ -80,16 +99,19 @@ jobs:
8099 cd $SAMPLE_FOLDER
81100 pip install -e .
82101 bash ./sample_code_runner.sh
102+ continue-on-error : ${{matrix.allow-fail}}
83103 - name : Using Report Generation Action
84104 id : report-generation
85105 uses : ./cybersource-rest-client-python/.github/actions/generate-report
86106 with :
87107 lang : python
88108 sample-folder-name : ${{env.SAMPLE_FOLDER}}
89109 log-file-name : output.log
110+ continue-on-error : ${{matrix.allow-fail}}
90111 - name : Upload Test Reports
91112 uses : actions/upload-artifact@v4
92113 with :
93114 name : sample-run-report-${{matrix.operating-system}}-python-ver-${{matrix.pyth-version}}
94115 path : |
95116 ${{env.SAMPLE_FOLDER}}/${{steps.report-generation.outputs.result-pdf-name}}
117+ continue-on-error : ${{matrix.allow-fail}}
0 commit comments