Skip to content

Feat/raae 9/repo upgrades #2

Feat/raae 9/repo upgrades

Feat/raae 9/repo upgrades #2

Workflow file for this run

name: Test Suite
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
name: Python ${{ matrix.python-version }} - ${{ matrix.connection }} [redis-stack ${{matrix.redis-stack-version}}]
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11"]
redis-stack-version: ['latest']
services:
redis:
image: redis/redis-stack-server:${{matrix.redis-stack-version}}
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Install dependencies
working-directory: ./backend
run: |
poetry install --all-extras
- name: Run tests
# env:
# REDIS_: ${{ secrets.OPENAI_API_KEY }}
# COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
working-directory: ./backend
run: |
poetry run test