From 57982e66d7ee468a79dfa09239b941a0724a38d1 Mon Sep 17 00:00:00 2001 From: Sveinbjorn Thordarson Date: Wed, 25 Oct 2023 11:27:18 +0000 Subject: [PATCH] Updated CI config, now also testing with Python 3.12 --- .github/workflows/python-package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index bc91e49..83a32d4 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: [ "3.8", "3.9", "3.10", "3.11", "pypy-3.9", "pypy-3.10"] + python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9", "pypy-3.10"] steps: - uses: actions/checkout@v4 @@ -30,9 +30,9 @@ jobs: python -m pip install git+https://github.com/mideind/GreynirPackage#egg=reynir # The neural sentence classifier doesn't work with pypy so don't try to install it if [ "${{ matrix.python-version }}" == "pypy-3.9" ] || [ "${{ matrix.python-version }}" == "pypy-3.10" ]; then - python -m pip install -e . + python -m pip install -e ".[dev]" else - python -m pip install -e .[sentence_classifier] + python -m pip install -e ".[sentence_classifier]" fi - name: Typecheck with mypy run: |