2929 strategy :
3030 fail-fast : false
3131 matrix :
32- python-version : ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
33- # python3.6 reached EOL and is no longer being supported on
34- # new versions of hosted runners on Github Actions
35- # ubuntu-20.04 is the last version that supported python3.6
36- # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
32+ python-version : ["3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
3733 os : [ubuntu-22.04]
3834 services :
3935 postgres :
@@ -50,15 +46,12 @@ jobs:
5046 ports :
5147 - 5432:5432
5248 env :
53- SENTRY_PYTHON_TEST_POSTGRES_HOST : ${{ matrix.python-version == '3.6' && 'postgres' || ' localhost' }}
49+ SENTRY_PYTHON_TEST_POSTGRES_HOST : localhost
5450 SENTRY_PYTHON_TEST_POSTGRES_USER : postgres
5551 SENTRY_PYTHON_TEST_POSTGRES_PASSWORD : sentry
56- # Use Docker container only for Python 3.6
57- container : ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
5852 steps :
59536054 - uses : actions/setup-python@v6
61- if : ${{ matrix.python-version != '3.6' }}
6255 with :
6356 python-version : ${{ matrix.python-version }}
6457 allow-prereleases : true
9487 run : |
9588 set -x # print commands that are executed
9689 ./scripts/runtox.sh "py${{ matrix.python-version }}-sqlalchemy"
97- - name : Generate coverage XML (Python 3.6)
98- if : ${{ !cancelled() && matrix.python-version == '3.6' }}
99- run : |
100- export COVERAGE_RCFILE=.coveragerc36
101- coverage combine .coverage-sentry-*
102- coverage xml --ignore-errors
10390 - name : Generate coverage XML
104- if : ${{ !cancelled() && matrix.python-version != '3.6' }}
91+ if : ${{ !cancelled() }}
10592 run : |
10693 coverage combine .coverage-sentry-*
10794 coverage xml
0 commit comments