Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.12 to the test matrix #61

Merged
merged 5 commits into from
Dec 24, 2023
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
11 changes: 10 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
pydantic-version: ["<2.0.0", ">=2.0.0"]
exclude:
- python-version: "3.9"
pydantic-version: "<2.0.0"
- python-version: "3.11"
pydantic-version: "<2.0.0"
- python-version: "3.12"
pydantic-version: "<2.0.0"

fail-fast: false

steps:
Expand Down Expand Up @@ -46,6 +54,7 @@ jobs:
pip install .
pip install -r requirements-dev.txt
pip install "pydantic${{ matrix.pydantic-version }}"
pip install bluesky==1.11.0

pip list
- name: Test with pytest
Expand Down
2 changes: 1 addition & 1 deletion bluesky_httpserver/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def setup_server_with_config_file(*, config_file_str, tmpdir, monkeypatch):
Creates config file for the server in ``tmpdir/config/`` directory and
sets up the respective environment variable. Sets ``tmpdir`` as a current directory.
"""
print(f"SERVER CONFIGURATION:\n{'-'*50}\n{config_file_str}\n{'-'*50}")
print(f"SERVER CONFIGURATION:\n{'-' * 50}\n{config_file_str}\n{'-' * 50}")
config_fln = "config_httpserver.yml"
config_dir = os.path.join(tmpdir, "config")
config_path = os.path.join(config_dir, config_fln)
Expand Down
Loading