Add WAI-ANI_NSFW-PONXL, Ultraspice, and trim old models #218
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unstable Tests | |
on: | |
pull_request_target: | |
branches: | |
- main | |
types: | |
- opened | |
- synchronize | |
paths: | |
- '**.py' | |
- '**.json' | |
- 'tox.ini' | |
- '.github/workflows/maintests.yml' | |
- '.github/workflows/prtests.yml' | |
- '.pre-commit-config.yaml' | |
- 'scripts/requirements.txt' | |
- 'scripts/requirements.dev.txt' | |
jobs: | |
no_extra_fields: | |
env: | |
HORDELIB_CI_ONGOING: "1" | |
TESTS_ONGOING: "1" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox and any other packages | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade -r scripts/requirements.dev.txt | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
- name: Run unit tests | |
run: tox -e no-extra-fields | |
build: | |
env: | |
TESTS_ONGOING: "1" | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python: ["3.10"] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python }} | |
- name: Install tox and any other packages | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade -r scripts/requirements.dev.txt | |
- name: Run pre-commit | |
uses: pre-commit/[email protected] | |
- name: Run unit tests | |
run: tox -e validate-sd |