langflow/.github/workflows/test.yml
Gabriel Almeida 311ebed676 🔥 chore(lint.yml): remove Python 3.8 and 3.11 from the matrix
🔥 chore(test.yml): remove Python 3.11 from the matrix
Python 3.8 and 3.11 were removed from the matrix in lint.yml to reduce the number of Python versions being tested. Python 3.11 was removed from the matrix in test.yml as it is not yet released and therefore not supported.
Chroma uses onnxruntime which does not support 3.11 as of yet. This will be added back in once onnxruntime supports 3.11.
2023-05-23 12:27:39 -03:00

32 lines
669 B
YAML

name: test
on:
push:
branches: [main]
pull_request:
branches: [dev]
env:
POETRY_VERSION: "1.4.0"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.10"
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry==$POETRY_VERSION
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
run: poetry install
- name: Run unit tests
run: |
make tests