Skip to content

Commit 3e8b386

Browse files
authored
Workflows Split UnitTests (#1712)
Run Tools on its own, separate steps to get more timing info
1 parent 709af24 commit 3e8b386

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

.github/workflows/UnitTests.yml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,28 @@ name: Tests
33
on: [push, pull_request]
44

55
jobs:
6-
Unit_Tests:
7-
6+
Tools_Tests:
87
runs-on: ubuntu-latest
8+
env:
9+
MAKEFLAGS: "-j 2"
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Build tools unit tests
13+
run: (cd tools; make all)
14+
- name: Run tools unit tests
15+
run: (cd tools; make run_tests)
916

17+
Unit_Tests:
18+
runs-on: ubuntu-latest
19+
env:
20+
MAKEFLAGS: "-j 2"
1021
steps:
1122
- uses: actions/checkout@v2
1223
- name: Install the Google test suite
13-
env:
14-
MAKEFLAGS: "-j 2"
1524
run: (cd test; make install-googletest)
16-
- name: Build and run the library unit tests.
17-
env:
18-
MAKEFLAGS: "-j 2"
25+
- name: Build base unit test
26+
run: (cd test; make IRac_test)
27+
- name: Build library unit tests
28+
run: (cd test; make all)
29+
- name: Run library unit tests
1930
run: (cd test; make run)
20-
- name: Build and run the tools unit tests.
21-
env:
22-
MAKEFLAGS: "-j 2"
23-
run: (cd tools; make all; make run_tests)

0 commit comments

Comments
 (0)