aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-07-14 10:12:48 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-07-14 10:12:48 +0300
commit92a3236161099aca735c3f59f30859750d9e7452 (patch)
treeffc981e3fdd856dbc389af2e56f0d97d38ecaec1 /.github/workflows
parent9a3f35b028a8026291679c35e1df5b2aea327a1d (diff)
parent9893d09b4378d14c2a3ef370a5e02b906993ea86 (diff)
Merge branch 'dev' into sdxl
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/on_pull_request.yaml6
-rw-r--r--.github/workflows/run_tests.yaml4
2 files changed, 8 insertions, 2 deletions
diff --git a/.github/workflows/on_pull_request.yaml b/.github/workflows/on_pull_request.yaml
index 8ebf5918..78e608ee 100644
--- a/.github/workflows/on_pull_request.yaml
+++ b/.github/workflows/on_pull_request.yaml
@@ -1,4 +1,4 @@
-name: Run Linting/Formatting on Pull Requests
+name: Linter
on:
- push
@@ -6,7 +6,9 @@ on:
jobs:
lint-python:
+ name: ruff
runs-on: ubuntu-latest
+ if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- name: Checkout Code
uses: actions/checkout@v3
@@ -22,7 +24,9 @@ jobs:
- name: Run Ruff
run: ruff .
lint-js:
+ name: eslint
runs-on: ubuntu-latest
+ if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- name: Checkout Code
uses: actions/checkout@v3
diff --git a/.github/workflows/run_tests.yaml b/.github/workflows/run_tests.yaml
index 178c026a..e9370cc0 100644
--- a/.github/workflows/run_tests.yaml
+++ b/.github/workflows/run_tests.yaml
@@ -1,4 +1,4 @@
-name: Run basic features tests on CPU with empty SD model
+name: Tests
on:
- push
@@ -6,7 +6,9 @@ on:
jobs:
test:
+ name: tests on CPU with empty model
runs-on: ubuntu-latest
+ if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- name: Checkout Code
uses: actions/checkout@v3