diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 0063d8e..6df0aee 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -24,6 +24,7 @@ jobs: python-version: - '3.10' - '3.11' + - '3.12' runs-on: ${{ matrix.os }} name: Run tests on Python ${{ matrix.python-version }}, on ${{ matrix.os }} timeout-minutes: 45 @@ -42,14 +43,12 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Override Python version for Poetry - run: sed -i -e 's#^python\s*=.*$#python = "^${{ matrix.python-version }}"#g' pyproject.toml + # - name: Override Python version for Poetry + # run: sed -i -e 's#^python\s*=.*$#python = "^${{ matrix.python-version }}"#g' pyproject.toml - name: Restore Python dependencies run: poetry lock && poetry install - name: Test shell: bash - run: | - poetry env use .venv/bin/python - python -m unittest discover -v -s tests + run: poetry run python -m unittest discover -v -s tests diff --git a/pyproject.toml b/pyproject.toml index e0114c0..85fcf68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ license = "Apache 2.0" readme = "README.md" [tool.poetry.dependencies] -python = "^3.10.0" +python = ">=3.10.0" Kivy = "^2.3.0" [tool.poetry.group.dev.dependencies]