Skip to content

Commit

Permalink
extra-unit-tests try
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa committed Jan 8, 2025
1 parent 6388f32 commit faf114b
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 48 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/extra-tests.yml

This file was deleted.

52 changes: 52 additions & 0 deletions .github/workflows/extra-unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: extra-unit-tests

on: [push, pull_request]

jobs:
release:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v4

- name: Checkout HiGHS repo
uses: actions/checkout@v4
with:
repository: ERGO-Code/HiGHS
ref: latest
path: HiGHS

- name: Checkout highs-unit-tests repo
uses: actions/checkout@v4
with:
repository: galabovaa/highs-unit-tests
ref: main
path: HiGHS/highs-unit-tests

# - name: Symlink extra tests to HiGHS
# working-directory: HiGHS
# run: ls -a

- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build

- name: Configure CMake
shell: bash
working-directory: ${{runner.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DALL_TESTS=ON -DBUILD_EXTRA_UNIT_TESTS=ON

- name: Build
working-directory: ${{runner.workspace}}/build
shell: bash
run: |
cmake --build . --parallel
- name: Test
working-directory: ${{runner.workspace}}/build
shell: bash
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest --parallel --timeout 300 --output-on-failure
19 changes: 0 additions & 19 deletions actions/workflows/coverage.yml

This file was deleted.

0 comments on commit faf114b

Please sign in to comment.