mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
move export behind the tests, upload with artifact
also switch to python between 3.9-3.10 and use conda-forge again
This commit is contained in:
parent
87cada42db
commit
e7688c53b8
8
.github/workflows/test-invoke-conda.yml
vendored
8
.github/workflows/test-invoke-conda.yml
vendored
@ -97,9 +97,6 @@ jobs:
|
|||||||
activate-environment: ${{ env.CONDA_ENV_NAME }}
|
activate-environment: ${{ env.CONDA_ENV_NAME }}
|
||||||
environment-file: ${{ matrix.environment-file }}
|
environment-file: ${{ matrix.environment-file }}
|
||||||
|
|
||||||
- name: export conda env
|
|
||||||
run: conda env export --name ${{ env.CONDA_ENV_NAME }}
|
|
||||||
|
|
||||||
- name: Use Cached Huggingface and Torch models
|
- name: Use Cached Huggingface and Torch models
|
||||||
id: cache-hugginface-torch
|
id: cache-hugginface-torch
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
@ -118,10 +115,15 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
time python scripts/invoke.py \
|
time python scripts/invoke.py \
|
||||||
--from_file ${{ env.TEST_PROMPTS }}
|
--from_file ${{ env.TEST_PROMPTS }}
|
||||||
|
|
||||||
|
- name: export conda env
|
||||||
|
run: |
|
||||||
mkdir -p outputs/img-samples
|
mkdir -p outputs/img-samples
|
||||||
|
conda env export --name ${{ env.CONDA_ENV_NAME }} > outputs/img-samples/environment-${{ runner.os }}.yml
|
||||||
|
|
||||||
- name: Archive results
|
- name: Archive results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: results_${{ matrix.os }}
|
name: results_${{ matrix.os }}
|
||||||
path: outputs/img-samples
|
path: outputs/img-samples
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
name: invokeai
|
name: invokeai
|
||||||
channels:
|
channels:
|
||||||
- pytorch
|
- pytorch
|
||||||
- defaults
|
- conda-forge
|
||||||
dependencies:
|
dependencies:
|
||||||
- python>=3.10, <3.11
|
- python>=3.9, <3.10
|
||||||
- pip>=22.2
|
- pip>=22.2
|
||||||
|
|
||||||
# pytorch left unpinned
|
# pytorch left unpinned
|
||||||
|
Loading…
Reference in New Issue
Block a user