Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 27 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15", "3.14t", "3.15t"]

name: Tests with Python ${{ matrix.python-version }} on Linux
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
with:
path: main

- uses: actions/setup-python@v4
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}-dev
python-version: ${{ matrix.python-version }}

- name: Checkout Austin development branch
uses: actions/checkout@master
Expand All @@ -53,6 +53,11 @@ jobs:
addr2line -V
pip install hatch

- name: Check interpreter
run: |
cd $GITHUB_WORKSPACE/main
hatch -e "tests.py${{ matrix.python-version }}" run python -c "import sys, sysconfig; print(sys.version); gil = not sysconfig.get_config_var('Py_GIL_DISABLED'); assert gil != '${{ matrix.python-version }}'.endswith('t'), 'GIL mismatch'; print('GIL enabled:', gil)"

- name: Run tests
timeout-minutes: 10
run: |
Expand All @@ -74,17 +79,17 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15", "3.14t", "3.15t"]

name: Tests with Python ${{ matrix.python-version }} on MacOS
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
with:
path: main

- uses: actions/setup-python@v4
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}-dev
python-version: ${{ matrix.python-version }}

- name: Checkout Austin development branch
uses: actions/checkout@master
Expand All @@ -107,6 +112,11 @@ jobs:
run: |
pip install hatch

- name: Check interpreter
run: |
cd $GITHUB_WORKSPACE/main
sudo hatch -e "tests.py${{ matrix.python-version }}" run python -c "import sys, sysconfig; print(sys.version); gil = not sysconfig.get_config_var('Py_GIL_DISABLED'); assert gil != '${{ matrix.python-version }}'.endswith('t'), 'GIL mismatch'; print('GIL enabled:', gil)"

- name: Run tests
timeout-minutes: 10
run: |
Expand All @@ -119,17 +129,17 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15"]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.15", "3.14t", "3.15t"]

name: Tests with Python ${{ matrix.python-version }} on Windows
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
with:
path: main

- uses: actions/setup-python@v4
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}-dev
python-version: ${{ matrix.python-version }}

- name: Checkout Austin development branch
uses: actions/checkout@master
Expand All @@ -147,6 +157,11 @@ jobs:
run: |
pip install hatch

- name: Check interpreter
run: |
cd $env:GITHUB_WORKSPACE/main
hatch -e "tests.py${{ matrix.python-version }}" run python -c "import sys, sysconfig; print(sys.version); gil = not sysconfig.get_config_var('Py_GIL_DISABLED'); assert gil != '${{ matrix.python-version }}'.endswith('t'), 'GIL mismatch'; print('GIL enabled:', gil)"

- name: Run tests
timeout-minutes: 10
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ dependencies = [
tests = "pytest --cov=austin --cov-report=term-missing --cov-report=xml {args}"

[[tool.hatch.envs.tests.matrix]]
python = ["3.11", "3.12", "3.13", "3.14", "3.15"]
python = ["3.11", "3.12", "3.13", "3.14", "3.15", "3.14t", "3.15t"]

[tool.hatch.envs.checks]
python = "3.13"
Expand Down
Loading