-
Notifications
You must be signed in to change notification settings - Fork 13
48 lines (46 loc) · 1.06 KB
/
prtests.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
44
45
46
47
48
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:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10"]
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- 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
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Run validation
run: python convert.py