From 102e3a37f5c4eba8ebf1234ab630b4dc67775071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zeyan=20Li=20=E6=9D=8E=E5=88=99=E8=A8=80?= Date: Thu, 7 Mar 2024 14:58:57 +0800 Subject: [PATCH] ci(update CI configurations): --- .github/workflows/pythonpackage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 17840f2..d1238ce 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -11,8 +11,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ 3.9, 3.10, 3.11, 3.12 ] - poetry-version: [ 1.8.2 ] + python-version: [ "3.9", "3.10", "3.11", "3.12" ] + poetry-version: [ "1.8.2" ] steps: - uses: actions/checkout@v4 @@ -33,7 +33,7 @@ jobs: - name: Install dependencies run: | poetry config virtualenvs.create false - poetry install + poetry install --no-root - name: Test with pytest run: | PYTHONPATH=$(realpath .) coverage run -m pytest tests