mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
enable image generating step for windows as well
- also remove left over debug lines and development branch leftover
This commit is contained in:
10
.github/workflows/test-invoke-pip.yml
vendored
10
.github/workflows/test-invoke-pip.yml
vendored
@ -3,7 +3,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
- 'debug/dev/pyproject-toml'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types:
|
types:
|
||||||
- 'ready_for_review'
|
- 'ready_for_review'
|
||||||
@ -67,7 +66,6 @@ jobs:
|
|||||||
- name: set INVOKEAI_ROOT Windows
|
- name: set INVOKEAI_ROOT Windows
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: |
|
run: |
|
||||||
Get-PSDrive
|
|
||||||
mkdir C:\InvokeAI
|
mkdir C:\InvokeAI
|
||||||
echo "INVOKEAI_ROOT=C:\InvokeAI" >> ${{ matrix.github-env }}
|
echo "INVOKEAI_ROOT=C:\InvokeAI" >> ${{ matrix.github-env }}
|
||||||
|
|
||||||
@ -87,12 +85,8 @@ jobs:
|
|||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
run: echo "TEST_PROMPTS=tests/preflight_prompts.txt" >> ${{ matrix.github-env }}
|
run: echo "TEST_PROMPTS=tests/preflight_prompts.txt" >> ${{ matrix.github-env }}
|
||||||
|
|
||||||
- name: set test prompt to development branch validation
|
|
||||||
if: ${{ github.ref == 'refs/heads/development' }}
|
|
||||||
run: echo "TEST_PROMPTS=tests/dev_prompts.txt" >> ${{ matrix.github-env }}
|
|
||||||
|
|
||||||
- name: set test prompt to Pull Request validation
|
- name: set test prompt to Pull Request validation
|
||||||
if: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/development' }}
|
if: ${{ github.ref != 'refs/heads/main' }}
|
||||||
run: echo "TEST_PROMPTS=tests/validate_pr_prompt.txt" >> ${{ matrix.github-env }}
|
run: echo "TEST_PROMPTS=tests/validate_pr_prompt.txt" >> ${{ matrix.github-env }}
|
||||||
|
|
||||||
- name: setup python
|
- name: setup python
|
||||||
@ -117,7 +111,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Run the tests
|
- name: Run the tests
|
||||||
id: run-tests
|
id: run-tests
|
||||||
if: runner.os != 'Windows'
|
|
||||||
env:
|
env:
|
||||||
# Set offline mode to make sure configure preloaded successfully.
|
# Set offline mode to make sure configure preloaded successfully.
|
||||||
HF_HUB_OFFLINE: 1
|
HF_HUB_OFFLINE: 1
|
||||||
@ -133,7 +126,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Archive results
|
- name: Archive results
|
||||||
id: archive-results
|
id: archive-results
|
||||||
if: runner.os != 'Windows'
|
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: results_${{ matrix.pytorch }}_${{ matrix.python-version }}
|
name: results_${{ matrix.pytorch }}_${{ matrix.python-version }}
|
||||||
|
Reference in New Issue
Block a user