Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
2b94ec78
Commit
2b94ec78
authored
Jan 09, 2023
by
AUTOMATIC1111
Committed by
GitHub
Jan 09, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6463 from akx/patch-1
CI: Use native actions/setup-python caching
parents
cdfcbd99
a7787397
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
13 deletions
+8
-13
.github/workflows/on_pull_request.yaml
.github/workflows/on_pull_request.yaml
+5
-8
.github/workflows/run_tests.yaml
.github/workflows/run_tests.yaml
+3
-5
No files found.
.github/workflows/on_pull_request.yaml
View file @
2b94ec78
...
...
@@ -19,22 +19,19 @@ jobs:
-
name
:
Checkout Code
uses
:
actions/checkout@v3
-
name
:
Set up Python
3.10
uses
:
actions/setup-python@v
3
uses
:
actions/setup-python@v
4
with
:
python-version
:
3.10.6
-
uses
:
actions/cache@v2
with
:
path
:
~/.cache/pip
key
:
${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys
:
|
${{ runner.os }}-pip-
cache
:
pip
cache-dependency-path
:
|
**/requirements*txt
-
name
:
Install PyLint
run
:
|
python -m pip install --upgrade pip
pip install pylint
# This lets PyLint check to see if it can resolve imports
-
name
:
Install dependencies
run
:
|
run
:
|
export COMMANDLINE_ARGS="--skip-torch-cuda-test --exit"
python launch.py
-
name
:
Analysing the code with pylint
...
...
.github/workflows/run_tests.yaml
View file @
2b94ec78
...
...
@@ -14,11 +14,9 @@ jobs:
uses
:
actions/setup-python@v4
with
:
python-version
:
3.10.6
-
uses
:
actions/cache@v3
with
:
path
:
~/.cache/pip
key
:
${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys
:
${{ runner.os }}-pip-
cache
:
pip
cache-dependency-path
:
|
**/requirements*txt
-
name
:
Run tests
run
:
python launch.py --tests basic_features --no-half --disable-opt-split-attention --use-cpu all --skip-torch-cuda-test
-
name
:
Upload main app stdout-stderr
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment