Skip to content

Commit 02a8be2

Browse files
committed
Removed if statements. The if statements mean that GH actions would continue ONLY if tests are successfully built.
Now, GH actions would stop if a test fails to build or run.
1 parent d904172 commit 02a8be2

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -41,80 +41,60 @@ jobs:
4141
# simulator runs
4242
- id: tt
4343
name: run test-tiny
44-
if: always() && steps.build.conclusion == 'success'
4544
run: ./cgraphitti -c ../Testing/RegressionTesting/configfiles/test-tiny.xml
4645
- name: verify test-tiny
47-
if: always() && steps.tt.conclusion == 'success'
4846
run: diff ../Testing/RegressionTesting/TestOutput/test-tiny-out.xml ../Testing/RegressionTesting/GoodOutput/Cpu/test-tiny-out.xml
4947

5048
- id: ts
5149
name: run test-small
52-
if: always() && steps.build.conclusion == 'success'
5350
run: ./cgraphitti -c ../Testing/RegressionTesting/configfiles/test-small.xml
5451
- name: verify test-small
55-
if: always() && steps.ts.conclusion == 'success'
5652
run: diff ../Testing/RegressionTesting/TestOutput/test-small-out.xml ../Testing/RegressionTesting/GoodOutput/Cpu/test-small-out.xml
5753

5854
- id: tsc
5955
name: run test-small-connected
60-
if: always() && steps.build.conclusion == 'success'
6156
run: ./cgraphitti -c ../Testing/RegressionTesting/configfiles/test-small-connected.xml
6257
- name: verify test-small-connected
63-
if: always() && steps.tsc.conclusion == 'success'
6458
run: diff ../Testing/RegressionTesting/TestOutput/test-small-connected-out.xml ../Testing/RegressionTesting/GoodOutput/Cpu/test-small-connected-out.xml
6559

6660
- id: tsl
6761
name: run test-small-long
68-
if: always() && steps.build.conclusion == 'success'
6962
run: ./cgraphitti -c ../Testing/RegressionTesting/configfiles/test-small-long.xml
7063
- name: verify test-small-long
71-
if: always() && steps.tsl.conclusion == 'success'
7264
run: diff ../Testing/RegressionTesting/TestOutput/test-small-long-out.xml ../Testing/RegressionTesting/GoodOutput/Cpu/test-small-long-out.xml
7365

7466
- id: tscl
7567
name: run test-small-connected-long
76-
if: always() && steps.build.conclusion == 'success'
7768
run: ./cgraphitti -c ../Testing/RegressionTesting/configfiles/test-small-connected-long.xml
7869
- name: verify test-small-connected-long
79-
if: always() && steps.tscl.conclusion == 'success'
8070
run: diff ../Testing/RegressionTesting/TestOutput/test-small-connected-long-out.xml ../Testing/RegressionTesting/GoodOutput/Cpu/test-small-connected-long-out.xml
8171

8272
- id: ts911
8373
name: run test-small-911
84-
if: always() && steps.build.conclusion == 'success'
8574
run: ./cgraphitti -c ../Testing/RegressionTesting/configfiles/test-small-911.xml
8675
- name: verify test-small-911
87-
if: always() && steps.tt.conclusion == 'success'
8876
run: diff ../Testing/RegressionTesting/TestOutput/test-small-911-out.xml ../Testing/RegressionTesting/GoodOutput/Cpu/test-small-911-out.xml
8977

9078
- id: tm
9179
name: run test-medium
92-
if: always() && steps.build.conclusion == 'success'
9380
run: ./cgraphitti -c ../Testing/RegressionTesting/configfiles/test-medium.xml
9481
- name: verify test-medium
95-
if: always() && steps.tm.conclusion == 'success'
9682
run: diff ../Testing/RegressionTesting/TestOutput/test-medium-out.xml ../Testing/RegressionTesting/GoodOutput/Cpu/test-medium-out.xml
9783

9884
- id: tmc
9985
name: run test-medium-connected
100-
if: always() && steps.build.conclusion == 'success'
10186
run: ./cgraphitti -c ../Testing/RegressionTesting/configfiles/test-medium-connected.xml
10287
- name: verify test-medium-connected
103-
if: always() && steps.tmc.conclusion == 'success'
10488
run: diff ../Testing/RegressionTesting/TestOutput/test-medium-connected-out.xml ../Testing/RegressionTesting/GoodOutput/Cpu/test-medium-connected-out.xml
10589

10690
- id: tml
10791
name: run test-medium-long
108-
if: always() && steps.build.conclusion == 'success'
10992
run: ./cgraphitti -c ../Testing/RegressionTesting/configfiles/test-medium-long.xml
11093
- name: verify test-medium-long
111-
if: always() && steps.tml.conclusion == 'success'
11294
run: diff ../Testing/RegressionTesting/TestOutput/test-medium-long-out.xml ../Testing/RegressionTesting/GoodOutput/Cpu/test-medium-long-out.xml
11395

11496
- id: tmcl
11597
name: run test-medium-connected-long
116-
if: always() && steps.build.conclusion == 'success'
11798
run: ./cgraphitti -c ../Testing/RegressionTesting/configfiles/test-medium-connected-long.xml
11899
- name: verify test-medium-connected-long
119-
if: always() && steps.tmcl.conclusion == 'success'
120100
run: diff ../Testing/RegressionTesting/TestOutput/test-medium-connected-long-out.xml ../Testing/RegressionTesting/GoodOutput/Cpu/test-medium-connected-long-out.xml

0 commit comments

Comments
 (0)