(ci) temporarily comment out end-to-end tests

This commit is contained in:
Eugene Brodsky 2023-06-26 12:54:48 -04:00
parent 4eb7a5fc60
commit cc400c9fa5

View File

@ -86,40 +86,38 @@ jobs:
id: run-pytest id: run-pytest
run: pytest run: pytest
- name: run invokeai-configure # - name: run invokeai-configure
id: run-preload-models # env:
env: # HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }}
HUGGING_FACE_HUB_TOKEN: ${{ secrets.HUGGINGFACE_TOKEN }} # run: >
run: > # invokeai-configure
invokeai-configure # --yes
--yes # --default_only
--default_only # --full-precision
--full-precision # # can't use fp16 weights without a GPU
# can't use fp16 weights without a GPU
- name: run invokeai # - name: run invokeai
id: run-invokeai # id: run-invokeai
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
HF_DATASETS_OFFLINE: 1 # HF_DATASETS_OFFLINE: 1
TRANSFORMERS_OFFLINE: 1 # TRANSFORMERS_OFFLINE: 1
INVOKEAI_OUTDIR: ${{ github.workspace }}/results # INVOKEAI_OUTDIR: ${{ github.workspace }}/results
run: > # run: >
invokeai # invokeai
--no-patchmatch # --no-patchmatch
--no-nsfw_checker # --no-nsfw_checker
--precision=float32 # --precision=float32
--always_use_cpu # --always_use_cpu
--use_memory_db # --use_memory_db
--outdir ${{ env.INVOKEAI_OUTDIR }}/${{ matrix.python-version }}/${{ matrix.pytorch }} # --outdir ${{ env.INVOKEAI_OUTDIR }}/${{ matrix.python-version }}/${{ matrix.pytorch }}
--from_file ${{ env.TEST_PROMPTS }} # --from_file ${{ env.TEST_PROMPTS }}
- name: Archive results # - name: Archive results
id: archive-results # env:
env: # INVOKEAI_OUTDIR: ${{ github.workspace }}/results
INVOKEAI_OUTDIR: ${{ github.workspace }}/results # uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v3 # with:
with: # name: results
name: results # path: ${{ env.INVOKEAI_OUTDIR }}
path: ${{ env.INVOKEAI_OUTDIR }}