mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-01-26 19:29:54 +00:00
chore: update .github
This commit is contained in:
4
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
4
.github/ISSUE_TEMPLATE/bug_report.yaml
vendored
@@ -26,8 +26,6 @@ body:
|
||||
label: Steps to reproduce
|
||||
description: |
|
||||
Description of how we can reproduce this issue.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
- type: textarea
|
||||
attributes:
|
||||
@@ -38,7 +36,7 @@ body:
|
||||
attributes:
|
||||
label: Console logs, from start to end.
|
||||
description: |
|
||||
The full console log of your terminal.
|
||||
The FULL console log of your terminal.
|
||||
placeholder: |
|
||||
Python ...
|
||||
Version: ...
|
||||
|
||||
23
.github/workflows/lgtm.yml
vendored
23
.github/workflows/lgtm.yml
vendored
@@ -1,23 +0,0 @@
|
||||
name: Empirical Implementation of JDD
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: peter-evans/create-or-update-comment@v4
|
||||
with:
|
||||
issue-number: ${{ github.event.pull_request.number }}
|
||||
body: |
|
||||

|
||||
|
||||
LGTM
|
||||
reactions: hooray
|
||||
34
.github/workflows/test.yml
vendored
Normal file
34
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
name: Test on PR
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "adetailer/**.py"
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test on python ${{ matrix.python-version }}
|
||||
runs-on: macos-latest
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- "3.10"
|
||||
- "3.11"
|
||||
- "3.12"
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- uses: yezz123/setup-uv@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
uv pip install --system ".[test]"
|
||||
|
||||
- name: Run tests
|
||||
run: pytest -v
|
||||
Reference in New Issue
Block a user