From 3e8b386718a3fbfbd1d86c04319d20d31ea35ebe Mon Sep 17 00:00:00 2001 From: Christian Nilsson Date: Mon, 27 Dec 2021 21:43:40 +0100 Subject: [PATCH] Workflows Split UnitTests (#1712) Run Tools on its own, separate steps to get more timing info --- .github/workflows/UnitTests.yml | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/.github/workflows/UnitTests.yml b/.github/workflows/UnitTests.yml index bbc486b18..a99e18c80 100644 --- a/.github/workflows/UnitTests.yml +++ b/.github/workflows/UnitTests.yml @@ -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)