forked from Haidra-Org/AI-Horde-text-model-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 880 Bytes
/
maintests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Tests
on:
push:
branches:
- main
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:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Run pre-commit
uses: pre-commit/[email protected]
verify-models-db:
env:
TESTS_ONGOING: "1"
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Run validation
run: python convert.py