Skip to content

Commit 694611c

Browse files
mezotakenMargen67
andauthored
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: Margen67 <[email protected]>
1 parent a071079 commit 694611c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/run_tests.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Checkout Code
1212
uses: actions/checkout@v3
1313
- name: Set up Python 3.10
14-
uses: actions/setup-python@v3
14+
uses: actions/setup-python@v4
1515
with:
1616
python-version: 3.10.6
1717
- uses: actions/cache@v2
@@ -21,13 +21,12 @@ jobs:
2121
restore-keys: |
2222
${{ runner.os }}-pip-
2323
- name: Run tests
24-
run: |
25-
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
24+
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
2625
- name: Upload main app stdout-stderr
2726
uses: actions/upload-artifact@v3
2827
if: always()
2928
with:
3029
name: stdout-stderr
3130
path: |
32-
./test/stdout.txt
33-
./test/stderr.txt
31+
test/stdout.txt
32+
test/stderr.txt

0 commit comments

Comments
 (0)