Skip to content

Commit 374e060

Browse files
committed
ci: add test script start up
1 parent f98ea6c commit 374e060

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.github/workflows/self-hosted.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,9 @@ jobs:
6161

6262
steps:
6363
- name: Run unit-tests
64-
id: unit-test
65-
working-directory: ${{ env.build_dir }}
66-
run: bash scripts/run_tests_fallback.sh
67-
shell: bash
64+
working-directory: ${{ env.build_dir }}/scripts
65+
run: chmod +x scripts/run_tests_fallback.sh && ./scripts/run_tests_fallback.sh
6866

6967
- name: Run regression-tests
70-
id: regression-test
7168
working-directory: ${{ env.build_dir }}/python
72-
run: bash run_tests.sh
73-
shell: bash
74-
75-
- name: Return test code
76-
if: ${{ steps.unit-test.outcome == 'failure' || steps.regression-test.outcome == 'failure' }}
77-
run: exit 1
69+
run: chmod +x run_tests.sh && ./run_tests.sh

.github/workflows/ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Ubuntu
44

55
on:
66
push:
7-
branches: [ master, self-hosted-runnernner ]
7+
branches: [ master, self-hosted-runner ]
88
pull_request:
99
branches: [ master ]
1010
workflow_dispatch:

0 commit comments

Comments
 (0)