diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a3c3bc..0270fd7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: pull_request: - branches: [ main ] + branches: [main] push: - branches: [ main ] + branches: [main] jobs: build: @@ -18,7 +18,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.9' + python-version: "3.9" - name: Install Poetry uses: snok/install-poetry@v1 @@ -44,7 +44,11 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ] + python-version: ["3.8", "3.9", "3.10", "3.11"] + poetry-version: ["1.6.1"] + include: + - python-version: "3.7" + poetry-version: "1.5.1" steps: - name: Checkout repository @@ -53,10 +57,12 @@ jobs: - name: Setup python uses: actions/setup-python@v4 with: - python-version: '${{ matrix.python-version }}' + python-version: "${{ matrix.python-version }}" - name: Install Poetry uses: snok/install-poetry@v1 + with: + version: "${{ matrix.poetry-version }}" - name: Install dependencies run: poetry install