Maikeu Locatelli
Add initial implementation of Flux Seamless Texture LoRA application
f0d9a3e
Raw
History Blame Contribute Delete
713 Bytes
name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov
- name: Run tests
run: |
pytest tests/ --cov=src --cov-report=term-missing
- name: Check code style
run: |
pip install flake8
flake8 src/ tests/ --max-line-length=100 --ignore=E203,W503