Skip to content

chore: bump version #351

chore: bump version

chore: bump version #351

Workflow file for this run

name: Test Package
on: [ push, pull_request ]
# Cancelled runs are marked as failures :(
#concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10", "3.11", "3.12" ]
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'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U -r requirements.txt
- name: Test with pytest
run: pytest -m 'not llama'
llama:
needs: build
runs-on: ubuntu-latest
# continue-on-error: true
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -U -r requirements.txt
- name: Cache LLaMA model
uses: actions/cache@v3
with:
path: ~/.cache/huggingface
key: ${{ runner.os }}-llamav2-cpp
- name: Run LLaMA tests
run: pytest -m llama