Skip to content

解决issue:【开源实习】多场景数据集处理及性能优化(2) #114

解决issue:【开源实习】多场景数据集处理及性能优化(2)

解决issue:【开源实习】多场景数据集处理及性能优化(2) #114

Workflow file for this run

name: Run CI Check
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r test/requirements.txt
#pip install git+https://github.com/mindlab-ai/mindface.git
- name: Analysing the code with pylint
run: |
pylint mindface --rcfile=.github/pylint.conf
- name: Test with UT pytest
run: |
pytest test/detection/UT/*.py
pytest test/recognition/UT/*.py
- name: Test with ST pytest
run: |
pytest test/detection/ST/*.py
pytest test/recognition/ST/*.py