Skip to content

YDA-5992: rearrange admin scripts #1492

YDA-5992: rearrange admin scripts

YDA-5992: rearrange admin scripts #1492

Workflow file for this run

name: "Run unit tests"
on:
push:
paths-ignore:
- 'tests/**'
pull_request:
paths-ignore:
- 'tests/**'
jobs:
unit-tests:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ['3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install coverage==7.6.7
- name: Run unit tests
run: |
cd unit-tests
export PYTHONPATH=$(cd ../util ; pwd):$PYTHONPATH
coverage run --omit=test_*.py,unit_tests.py -m unittest unit_tests
- name: Report code coverage
run: |
cd unit-tests
coverage report