@@ -15,28 +15,28 @@ jobs:
1515 strategy :
1616 matrix :
1717 os : [ubuntu-latest]
18- python-version : [ "3.9", "3. 10", "3.11", "3.12", "pypy-3.9", "pypy-3.10"]
18+ python-version : [ "3.10", "3.11", "3.12", "pypy-3.9", "pypy-3.10"]
1919
2020 steps :
2121 - uses : actions/checkout@v4
2222 - name : Set up Python ${{ matrix.python-version }}
23- uses : actions/setup-python@v4
23+ uses : actions/setup-python@v5
2424 with :
2525 python-version : ${{ matrix.python-version }}
2626 - name : Install GreynirCorrect
2727 run : |
28- python -m pip install --upgrade pip wheel setuptools pytest
29- python -m pip install tokenizer reynir
28+ python -m pip install uv
29+ uv pip install --system --upgrade pip wheel setuptools pytest tokenizer reynir
3030 # No need to test the sentence classifier in every build (also doesn't work with PyPy)
31- if [ "${{ matrix.python-version }}" == "3.9 " ]; then
32- python -m pip install -e ".[sentence_classifier]"
31+ if [ "${{ matrix.python-version }}" == "3.10 " ]; then
32+ uv pip install --system -e ".[sentence_classifier]"
3333 else
34- python -m pip install -e ".[dev]"
34+ uv pip install --system -e ".[dev]"
3535 fi
3636 - name : Typecheck with mypy
3737 run : |
38- if [ "${{ matrix.python-version }}" == "3.9 " ]; then python -m pip install mypy; fi
39- if [ "${{ matrix.python-version }}" == "3.9 " ]; then mypy --ignore-missing-imports --python-version=3.9 src/reynir_correct; fi
38+ if [ "${{ matrix.python-version }}" == "3.10 " ]; then python -m pip install mypy; fi
39+ if [ "${{ matrix.python-version }}" == "3.10 " ]; then mypy --ignore-missing-imports --python-version=3.9 src/reynir_correct; fi
4040 - name : Test with pytest
4141 run : |
4242 python -m pytest
0 commit comments