Currently, we configure one of our builds to include unit tests but then
do not compile and run them. This commit adds a step to compile and run
the unit/API tests.
os: ubuntu-18.04
config: production --auto-download --assertions --tracing --unit-testing --editline
cache-key: dbg
+ check-units: true
exclude_regress: 3-4
run_regression_args: --no-check-unsat-cores
RUN_REGRESSION_ARGS: ${{ matrix.run_regression_args }}
working-directory: build
+ - name: Run Unit Tests
+ if: matrix.check-units
+ run: make -j${{ env.num_proc }} apitests units
+ working-directory: build
+
- name: Install Check
run: |
make -j${{ env.num_proc }} install