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

Update version to 0.0.60.dev #258

Update version to 0.0.60.dev

Update version to 0.0.60.dev #258

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/codecov-action@v4.0.1
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
# slug: makseq/label-studio-converter