forked from vladmandic/sdnext
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 887 Bytes
/
on_pull_request.yaml
File metadata and controls
37 lines (35 loc) · 887 Bytes
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
name: lint-on-push
on:
- push
- pull_request
jobs:
lint:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
flags:
- --debug --test --uv
- --debug --test
steps:
- name: checkout-code
uses: actions/checkout@main
- name: setup-python
uses: actions/setup-python@main
with:
python-version: 3.12.3
cache: pip
cache-dependency-path: requirements.txt
- name: install-pylint
run: |
python -m pip install --upgrade pip
pip install pylint
- name: pre-commit
uses: pre-commit-ci/lite-action@v1.1.0
if: always()
with:
msg: apply code formatting and linting auto-fixes
- name: test-startup
run: |
export COMMANDLINE_ARGS="${{ matrix.flags }}"
python launch.py