Skip to content

Commit

Permalink
Updated CI config, now also testing with Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed Oct 25, 2023
1 parent e7d0ac4 commit 57982e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down

0 comments on commit 57982e6

Please sign in to comment.