Skip to content

chore(deps): update dependency locust to v2.31.8 #2266

chore(deps): update dependency locust to v2.31.8

chore(deps): update dependency locust to v2.31.8 #2266

Workflow file for this run

---
name: pytest
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
defaults:
run:
shell: bash
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ['3.11']
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Set up Python
id: setup-python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
python-version: ${{ matrix.python-version }}
- name: Install ripgrep
run: |
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
curl -LO https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep_13.0.0_amd64.deb
sudo dpkg -i ripgrep_13.0.0_amd64.deb
elif [ "${{ matrix.os }}" == "windows-latest" ]; then
choco install ripgrep
elif [ "${{ matrix.os }}" == "macos-latest" ]; then
brew install ripgrep
fi
- name: Install Poetry
uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1
- name: Install dependencies on macOS
if: runner.os == 'macOS'
run: |
export HNSWLIB_NO_NATIVE=1
arch -x86_64 poetry install --no-interaction --no-root
- name: Install dependencies on other OS
if: runner.os != 'macOS'
run: |
export HNSWLIB_NO_NATIVE=1
poetry install --no-interaction --no-root
- name: Run pytest
run: |
poetry run pytest . -vvs --timeout=300 --cov seagoat --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4-beta
if: matrix.os == 'ubuntu-latest'
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}