Skip to content

Commit 1660aab

Browse files
committed
ci: change way of test start up
1 parent 176bf18 commit 1660aab

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.github/workflows/self-hosted.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,12 @@ jobs:
6262
steps:
6363
- name: Run unit-tests
6464
working-directory: ${{ env.build_dir }}
65-
run: chmod +x scripts/run_tests_fallback.sh && ./scripts/run_tests_fallback.sh
65+
run: chmod +x scripts/run_tests_all.sh && ./scripts/run_tests_all.sh
6666

6767
- name: Run regression-tests
6868
working-directory: ${{ env.build_dir }}/python
69-
run: chmod +x run_tests.sh && ./run_tests.sh
69+
run: |
70+
echo "PYTHONPATH=`pwd`:$PYTHONPATH" >> $GITHUB_ENV
71+
cd tests
72+
python3 -m unittest discover -v
73+
# chmod +x run_tests.sh && ./run_tests.sh

.github/workflows/ubuntu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
include:
20-
- os: ubuntu-24.04
21-
cuda: "12.8"
22-
gcc: 13
20+
- os: ubuntu-20.04
21+
cuda: "10.1"
22+
gcc: 8
2323
env:
2424
build_dir: "build"
2525
config: "Release"

0 commit comments

Comments
 (0)