mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 04:57:54 +00:00
22 lines
537 B
YAML
22 lines
537 B
YAML
name: ci
|
|
on: [ push, pull_request ]
|
|
jobs:
|
|
ci:
|
|
strategy:
|
|
matrix:
|
|
python: ["3.7", "3.8", "3.9", "3.10", "3.11"]
|
|
|
|
name: "Test on Python ${{ matrix.python }}"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "${{ matrix.python }}"
|
|
- name: Install and configure Poetry
|
|
run: |
|
|
pip install -U pip poetry
|
|
poetry config virtualenvs.create false
|
|
- name: CI
|
|
run: make ci
|