Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

fix: LEAP-1339: Disable YOLO_OBB export for timeline #259

fix: LEAP-1339: Disable YOLO_OBB export for timeline

fix: LEAP-1339: Disable YOLO_OBB export for timeline #259

Workflow file for this run

name: tests
on:
push:
paths:
- 'label_studio_converter/**'
- '.github/workflows/tests.yml'
- 'requirements**'
tags-ignore:
- '**'
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches:
- master
- 'release/**'
env:
CACHE_NAME_PREFIX: v1
jobs:
run_pytest:
name: Run pytest for Converter
runs-on: ubuntu-latest
env:
LOG_DIR: pytest_logs
collect_analytics: false
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- uses: actions/cache@v4
name: Configure pip cache
id: pip-cache
with:
path: ~/.cache/pip
key: ${{ env.CACHE_NAME_PREFIX }}-${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-test.txt') }}
restore-keys: |
${{ env.CACHE_NAME_PREFIX }}-${{ runner.os }}-pip-
- name: Install dependencies
run: |
sudo apt-get clean
sudo apt-get update
sudo apt-get install virtualenv libsasl2-dev python3-dev libldap2-dev libssl-dev
pip install -U pip==20.2
pip install -r requirements.txt -r requirements-test.txt
- name: Run functional tests
run: |
pytest --junitxml report.xml --cov=. -m "not integration_tests"
# - name: Upload coverage reports to Codecov
# uses: codecov/[email protected]
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# slug: makseq/label-studio-converter