comparison .github/workflows/ci-test.yml @ 8332:ac48adc9ed39

test: run tests with free threaded python 3.13 With luck this will not indicate any breakage.
author John Rouillard <rouilj@ieee.org>
date Thu, 19 Jun 2025 15:25:19 -0400
parents d185fa6c4629
children 1a9889d08224
comparison
equal deleted inserted replaced
8331:d185fa6c4629 8332:ac48adc9ed39
69 69
70 # if the ones above fail. fail the build 70 # if the ones above fail. fail the build
71 experimental: [ false ] 71 experimental: [ false ]
72 72
73 include: 73 include:
74 # example: if 3.13 fails the jobs still succeeds 74 # example: if this version fails the jobs still succeeds
75 # allow-prereleases in setup-python allows alpha/beta 75 # allow-prereleases in setup-python allows alpha/beta
76 # releases to run 76 # releases to run. Also allow free threaded python testing
77 #- python-version: 3.13 77 - python-version: 3.13t
78 # os: ubuntu-22.04 78 os: ubuntu-24.04
79 # experimental: true 79 experimental: true
80 80
81 # 3.7 not available on new 22.04 runners, so run on 22.04 ubuntu 81 # 3.7 not available on new 22.04 runners, so run on 22.04 ubuntu
82 - python-version: 3.7 82 - python-version: 3.7
83 os: ubuntu-22.04 83 os: ubuntu-22.04
84 84
130 run: pip install setuptools 130 run: pip install setuptools
131 131
132 # Display the Python version being used 132 # Display the Python version being used
133 - name: Display Python and key module versions 133 - name: Display Python and key module versions
134 run: | 134 run: |
135 python -c "import sys; print('python version: ', sys.version)" 135 python --version --version
136 python -c "import sysconfig; print('GIL IS ENABLED: ', sysconfig.get_config_vars().get('Py_GIL_DISABLED', 'not defined'));"
136 python -c "import sqlite3; print('sqlite version: ', sqlite3.sqlite_version)" 137 python -c "import sqlite3; print('sqlite version: ', sqlite3.sqlite_version)"
137 python -c "import setuptools; print('setuptools version: ', setuptools.__version__);" 138 python -c "import setuptools; print('setuptools version: ', setuptools.__version__);"
138 139
139 - name: Update pip 140 - name: Update pip
140 run: python -m pip install --upgrade pip 141 run: python -m pip install --upgrade pip

Roundup Issue Tracker: http://roundup-tracker.org/