Skip to content

Commit

Permalink
Workflows Split UnitTests (#1712)
Browse files Browse the repository at this point in the history
Run Tools on its own, separate steps to get more timing info
  • Loading branch information
NiKiZe authored Dec 27, 2021
1 parent 709af24 commit 3e8b386
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .github/workflows/UnitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,28 @@ name: Tests
on: [push, pull_request]

jobs:
Unit_Tests:

Tools_Tests:
runs-on: ubuntu-latest
env:
MAKEFLAGS: "-j 2"
steps:
- uses: actions/checkout@v2
- name: Build tools unit tests
run: (cd tools; make all)
- name: Run tools unit tests
run: (cd tools; make run_tests)

Unit_Tests:
runs-on: ubuntu-latest
env:
MAKEFLAGS: "-j 2"
steps:
- uses: actions/checkout@v2
- name: Install the Google test suite
env:
MAKEFLAGS: "-j 2"
run: (cd test; make install-googletest)
- name: Build and run the library unit tests.
env:
MAKEFLAGS: "-j 2"
- name: Build base unit test
run: (cd test; make IRac_test)
- name: Build library unit tests
run: (cd test; make all)
- name: Run library unit tests
run: (cd test; make run)
- name: Build and run the tools unit tests.
env:
MAKEFLAGS: "-j 2"
run: (cd tools; make all; make run_tests)

0 comments on commit 3e8b386

Please sign in to comment.