Skip to content

bump python version to 3.12 #2439

bump python version to 3.12

bump python version to 3.12 #2439

Workflow file for this run

name: Python Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: Python Windows Test
strategy:
fail-fast: false
matrix:
os: [windows-latest]
python: ["3.12"]
experimental: [false]
continue-on-error: ${{ matrix.experimental }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- name: Install Poetry
run: |
pipx install "poetry>=1.7.0"
- name: Set up Python ${{ matrix.python }}
id: pysetup
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: "poetry"
- name: Install package and dependencies, then run tests
run: |
cd src
poetry env use '${{ steps.pysetup.outputs.python-path }}'
poetry install
- name: Run Tests
run: |
cd src
poetry run python -m unittest discover "tests" -p '*_test.py'