Unverified Commit 694611cb authored by Vladimir Repin's avatar Vladimir Repin Committed by GitHub

Apply suggestions from code review

Use last version of setup-python action
Remove unnecesarry multicommand from run
Remove current directory from artifact paths
Co-authored-by: 's avatarMargen67 <Margen67@users.noreply.github.com>
parent a0710790
...@@ -11,7 +11,7 @@ jobs: ...@@ -11,7 +11,7 @@ jobs:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Python 3.10 - name: Set up Python 3.10
uses: actions/setup-python@v3 uses: actions/setup-python@v4
with: with:
python-version: 3.10.6 python-version: 3.10.6
- uses: actions/cache@v2 - uses: actions/cache@v2
...@@ -21,13 +21,12 @@ jobs: ...@@ -21,13 +21,12 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-pip- ${{ runner.os }}-pip-
- name: Run tests - name: Run tests
run: | run: python launch.py --tests basic_features --no-half --disable-opt-split-attention --use-cpu all --skip-torch-cuda-test --clip-models-path ./test/test_files/empty.pt
python launch.py --tests basic_features --no-half --disable-opt-split-attention --use-cpu all --skip-torch-cuda-test --clip-models-path ./test/test_files/empty.pt
- name: Upload main app stdout-stderr - name: Upload main app stdout-stderr
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
if: always() if: always()
with: with:
name: stdout-stderr name: stdout-stderr
path: | path: |
./test/stdout.txt test/stdout.txt
./test/stderr.txt test/stderr.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment