Add CI Python 3.8 and 3.10

This commit is contained in:
Yuta Hayashibe 2022-10-12 11:06:34 +09:00
parent b12ca01887
commit 3190706bcf

View file

@ -14,6 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Get tags
@ -27,7 +28,7 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: ${{ matrix.python-version }}
- name: Install Poetry Action
uses: snok/install-poetry@v1.3.2
@ -40,7 +41,7 @@ jobs:
uses: actions/cache@v3
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('**/package-lock.json') }}-2
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}-${{ hashFiles('**/package-lock.json') }}-2
- run: pip install poetry
- run: poetry install