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
5c8dfa38be
commit
00c0e487dd
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 }}
|
||||
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
|
||||
id: cache-hugginface-torch
|
||||
uses: actions/cache@v3
|
||||
@ -118,10 +115,15 @@ jobs:
|
||||
run: |
|
||||
time python scripts/invoke.py \
|
||||
--from_file ${{ env.TEST_PROMPTS }}
|
||||
|
||||
- name: export conda env
|
||||
run: |
|
||||
mkdir -p outputs/img-samples
|
||||
conda env export --name ${{ env.CONDA_ENV_NAME }} > outputs/img-samples/environment-${{ runner.os }}.yml
|
||||
|
||||
- name: Archive results
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: results_${{ matrix.os }}
|
||||
path: outputs/img-samples
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
name: invokeai
|
||||
channels:
|
||||
- pytorch
|
||||
- defaults
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python>=3.10, <3.11
|
||||
- python>=3.9, <3.10
|
||||
- pip>=22.2
|
||||
|
||||
# pytorch left unpinned
|
||||
|
Loading…
Reference in New Issue
Block a user