Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI

on:
pull_request:
branches: [ main ]
branches: [main]
push:
branches: [ main ]
branches: [main]

jobs:
build:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down