3333 fail-fast : false
3434 matrix :
3535 python-version : ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
36- # python3.6 reached EOL and is no longer being supported on
37- # new versions of hosted runners on Github Actions
38- # ubuntu-20.04 is the last version that supported python3.6
39- # see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
4036 os : [ubuntu-22.04]
4137 services :
4238 postgres :
@@ -56,15 +52,12 @@ jobs:
5652 SENTRY_PYTHON_TEST_POSTGRES_HOST : ${{ matrix.python-version == '3.6' && 'postgres' || 'localhost' }}
5753 SENTRY_PYTHON_TEST_POSTGRES_USER : postgres
5854 SENTRY_PYTHON_TEST_POSTGRES_PASSWORD : sentry
59- # Use Docker container only for Python 3.6
60- container : ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
6155 steps :
6256 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
63- - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
64- if : ${{ matrix.python-version != '3.6' }}
57+ - name : Setup Python (host for tox + tox-uv)
58+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
6559 with :
66- python-version : ${{ matrix.python-version }}
67- allow-prereleases : true
60+ python-version : " 3.13"
6861 - name : " Setup ClickHouse Server"
6962 uses : getsentry/action-clickhouse-in-ci@5dc8a6a50d689bd6051db0241f34849e5a36490b # v1.7
7063 - name : Setup Test Env
9790 run : |
9891 set -x # print commands that are executed
9992 ./scripts/runtox.sh "py${{ matrix.python-version }}-sqlalchemy"
100- - name : Generate coverage XML (Python 3.6)
101- if : ${{ !cancelled() && matrix.python-version == '3.6' }}
102- run : |
103- export COVERAGE_RCFILE=.coveragerc36
104- coverage combine .coverage-sentry-*
105- coverage xml --ignore-errors
10693 - name : Generate coverage XML
107- if : ${{ !cancelled() && matrix.python-version != '3.6' }}
94+ if : ${{ !cancelled() }}
10895 run : |
10996 coverage combine .coverage-sentry-*
11097 coverage xml
0 commit comments