2525 strategy :
2626 fail-fast : false
2727 matrix :
28- python-version : ["3.5 ","3.7","3.8","3.11","3.12"]
28+ python-version : ["3.6 ","3.7","3.8","3.11","3.12"]
2929 # python3.6 reached EOL and is no longer being supported on
3030 # new versions of hosted runners on Github Actions
3131 # ubuntu-20.04 is the last version that supported python3.6
7777 strategy :
7878 fail-fast : false
7979 matrix :
80- python-version : ["3.5","3. 6","3.7","3.8","3.9","3.10","3.11","3.12"]
80+ python-version : ["3.6","3.7","3.8","3.9","3.10","3.11","3.12"]
8181 # python3.6 reached EOL and is no longer being supported on
8282 # new versions of hosted runners on Github Actions
8383 # ubuntu-20.04 is the last version that supported python3.6
@@ -122,50 +122,9 @@ jobs:
122122 with :
123123 token : ${{ secrets.CODECOV_TOKEN }}
124124 files : coverage.xml
125- test-data_processing-py27 :
126- name : Data Processing (py27)
127- timeout-minutes : 30
128- runs-on : ubuntu-20.04
129- container : python:2.7
130- steps :
131- - uses : actions/checkout@v4
132- - name : Setup Test Env
133- run : |
134- pip install coverage "tox>=3,<4"
135- - name : Erase coverage
136- run : |
137- coverage erase
138- - name : Test arq py27
139- run : |
140- set -x # print commands that are executed
141- ./scripts/runtox.sh --exclude-latest "py2.7-arq" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
142- - name : Test beam py27
143- run : |
144- set -x # print commands that are executed
145- ./scripts/runtox.sh --exclude-latest "py2.7-beam" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
146- - name : Test celery py27
147- run : |
148- set -x # print commands that are executed
149- ./scripts/runtox.sh --exclude-latest "py2.7-celery" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
150- - name : Test huey py27
151- run : |
152- set -x # print commands that are executed
153- ./scripts/runtox.sh --exclude-latest "py2.7-huey" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
154- - name : Test rq py27
155- run : |
156- set -x # print commands that are executed
157- ./scripts/runtox.sh --exclude-latest "py2.7-rq" --cov=tests --cov=sentry_sdk --cov-report= --cov-branch
158- - name : Generate coverage XML
159- run : |
160- coverage combine .coverage*
161- coverage xml -i
162- - uses : codecov/codecov-action@v3
163- with :
164- token : ${{ secrets.CODECOV_TOKEN }}
165- files : coverage.xml
166125 check_required_tests :
167126 name : All Data Processing tests passed
168- needs : [ test-data_processing-pinned, test-data_processing-py27]
127+ needs : test-data_processing-pinned
169128 # Always run this, even if a dependent job failed
170129 if : always()
171130 runs-on : ubuntu-20.04
@@ -174,7 +133,3 @@ jobs:
174133 if : contains(needs.test-data_processing-pinned.result, 'failure') || contains(needs.test-data_processing-pinned.result, 'skipped')
175134 run : |
176135 echo "One of the dependent jobs has failed. You may need to re-run it." && exit 1
177- - name : Check for 2.7 failures
178- if : contains(needs.test-data_processing-py27.result, 'failure') || contains(needs.test-data_processing-py27.result, 'skipped')
179- run : |
180- echo "One of the dependent jobs has failed. You may need to re-run it." && exit 1
0 commit comments