Skip to content

Bump protobuf from 4.25.3 to 6.33.5 #76

Bump protobuf from 4.25.3 to 6.33.5

Bump protobuf from 4.25.3 to 6.33.5 #76

Workflow file for this run

name: Tests
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: |
requirements.txt
setup.py
- name: Cache pip packages
uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.local/lib/python${{ matrix.python-version }}/site-packages
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt', 'setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
python -m pip install -r requirements.txt
- name: Run tests
env:
IS_TESTING: "true"
LLAMA_INDEX_EMBED_MODEL: "mock"
MOCK_EMBED_DIM: "8"
run: |
python -m pytest tests/ --cov=factchecker --cov-report=xml -v