Stop support for python 3.8 and 3.9 #351
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
branches: | |
- "*" | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ['3.10', '3.11', '3.12'] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - --version 1.7.1 | |
- name: Update pip and setuptools | |
run: | | |
pip install --upgrade pip setuptools | |
- name: Install dependencies | |
run: | | |
$HOME/.local/bin/poetry install --without dev | |
- name: Run tests | |
env: | |
IAI_API_KEY: ${{ secrets.IAI_API_KEY }} | |
run: | | |
$HOME/.local/bin/poetry run pytest tests/ |