Skip to content

Commit

Permalink
Continuous Integration: python-version: ["3.9", "3.11", "3.13"]
Browse files Browse the repository at this point in the history
Test on current versions of Python.
* https://devguide.python.org/versions
  • Loading branch information
cclauss committed Nov 12, 2024
1 parent a7c3ce2 commit f21c897
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion openhtf/util/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def _handle_test(self, test):
if profile_filepath is None:
profile_tempfile = None
else:
profile_tempfile = tempfile.NamedTemporaryFile()
profile_tempfile = tempfile.NamedTemporaryFile(delete=False)
# Mock the PlugManager to use ours instead, and execute the test.
with mock.patch.object(
plugs, 'PlugManager', new=lambda _, __: self.plug_manager):
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ python =
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313

[testenv]
deps =
Expand Down

0 comments on commit f21c897

Please sign in to comment.