From 142ef9aa9d109aeefe23d84c22f53a17b3e16284 Mon Sep 17 00:00:00 2001 From: Kent Ma Date: Wed, 11 Aug 2021 13:45:46 -0400 Subject: [PATCH] Switch the CI build steps to run all unit tests and coverage first --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e535a66b..ec4e34f89 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,10 +17,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Build Userspace - run: bazel build --apple_generate_dsym -c opt :release --define=SANTA_BUILD_TYPE=ci - - name: Build Driver - run: bazel build --apple_generate_dsym -c opt :release_driver --define=SANTA_BUILD_TYPE=ci - name: Test run: bazel test :unit_tests --define=SANTA_BUILD_TYPE=ci - name: Generate test coverage @@ -31,3 +27,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: ./CoverageData/info.lcov flag-name: Unit + - name: Build Userspace + run: bazel build --apple_generate_dsym -c opt :release --define=SANTA_BUILD_TYPE=ci + - name: Build Driver + run: bazel build --apple_generate_dsym -c opt :release_driver --define=SANTA_BUILD_TYPE=ci