diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 2c73097adb..e363ee596f 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -150,14 +150,14 @@ jobs: run: | git submodule update --init --remote --recursive src/tests/resources/Antares_Simulator_Tests_NR - - name: Run named mps tests - if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} - uses: ./.github/workflows/run-tests - with: - simtest-tag: ${{ env.SIMTEST }} - batch-name: valid-named-mps - os: ${{ env.os }} - variant: "named-mps" + #- name: Run named mps tests + # if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} + # uses: ./.github/workflows/run-tests + # with: + # simtest-tag: ${{ env.SIMTEST }} + # batch-name: valid-named-mps + # os: ${{ env.os }} + # variant: "named-mps" - name: Run unfeasibility-related tests if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} @@ -240,13 +240,13 @@ jobs: with: feature: "features/short_tests.feature" - - name: Run mps tests - if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} - uses: ./.github/workflows/run-tests - with: - simtest-tag: ${{ env.SIMTEST }} - batch-name: valid-mps - os: ${{ env.os }} + #- name: Run mps tests + # if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} + # uses: ./.github/workflows/run-tests + # with: + # simtest-tag: ${{ env.SIMTEST }} + # batch-name: valid-mps + # os: ${{ env.os }} - name: Run tests for adequacy patch (CSR) if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} @@ -257,7 +257,7 @@ jobs: os: ${{ env.os }} - name: Run parallel tests - if: ${{ env.RUN_EXTENDED_TESTS == 'true' && !cancelled() }} + if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} uses: ./.github/workflows/run-tests with: simtest-tag: ${{ env.SIMTEST }} @@ -275,7 +275,7 @@ jobs: variant: "tsgenerator" - name: Run medium-tests - if: ${{ env.RUN_EXTENDED_TESTS == 'true' && !cancelled() }} + if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} uses: ./.github/workflows/run-tests with: simtest-tag: ${{ env.SIMTEST }} diff --git a/.github/workflows/windows-vcpkg.yml b/.github/workflows/windows-vcpkg.yml index 5fb4b19603..edd41d5f4f 100644 --- a/.github/workflows/windows-vcpkg.yml +++ b/.github/workflows/windows-vcpkg.yml @@ -152,14 +152,14 @@ jobs: run: | git submodule update --init --remote src/tests/resources/Antares_Simulator_Tests_NR - - name: Run named mps tests - if: ${{ env.RUN_SIMPLE_TESTS == 'true' && ! cancelled() }} - uses: ./.github/workflows/run-tests - with: - simtest-tag: ${{ env.SIMTEST }} - batch-name: valid-named-mps - os: ${{ env.os }} - variant: "named-mps" + #- name: Run named mps tests + # if: ${{ env.RUN_SIMPLE_TESTS == 'true' && ! cancelled() }} + # uses: ./.github/workflows/run-tests + # with: + # simtest-tag: ${{ env.SIMTEST }} + # batch-name: valid-named-mps + # os: ${{ env.os }} + # variant: "named-mps" - name: Run unfeasibility-related tests if: ${{ env.RUN_SIMPLE_TESTS == 'true' && ! cancelled() }} @@ -250,16 +250,16 @@ jobs: with: feature: "features/short_tests.feature" - - name: Run mps tests - if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} - uses: ./.github/workflows/run-tests - with: - simtest-tag: ${{ env.SIMTEST }} - batch-name: valid-mps - os: ${{ env.os }} + #- name: Run mps tests + # if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} + # uses: ./.github/workflows/run-tests + # with: + # simtest-tag: ${{ env.SIMTEST }} + # batch-name: valid-mps + # os: ${{ env.os }} - name: Run parallel tests - if: ${{ env.RUN_EXTENDED_TESTS == 'true' && !cancelled() }} + if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} uses: ./.github/workflows/run-tests with: simtest-tag: ${{ env.SIMTEST }} @@ -277,7 +277,7 @@ jobs: variant: "tsgenerator" - name: Run medium-tests - if: ${{ env.RUN_EXTENDED_TESTS == 'true' && !cancelled() }} + if: ${{ env.RUN_SIMPLE_TESTS == 'true' && !cancelled() }} uses: ./.github/workflows/run-tests with: simtest-tag: ${{ env.SIMTEST }} diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 2babe91fab..36f530ede4 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -49,13 +49,13 @@ if(Python3_Interpreter_FOUND) # TODO : add more study batches add_test( NAME unfeasible - COMMAND Python3::Interpreter -m pytest -m unfeasible --solver-path=$ + COMMAND Python3::Interpreter -m pytest -m unfeasible --solver-path=$ --use-ortools --ortools-solver sirius WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/run-study-tests" ) add_test( NAME json - COMMAND Python3::Interpreter -m pytest -m json --solver-path=$ + COMMAND Python3::Interpreter -m pytest -m json --solver-path=$ --use-ortools --ortools-solver sirius WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/run-study-tests" ) @@ -73,7 +73,7 @@ if(Python3_Interpreter_FOUND) add_test( NAME parallel - COMMAND Python3::Interpreter -m pytest -m json --solver-path=$ --force-parallel + COMMAND Python3::Interpreter -m pytest -m json --solver-path=$ --force-parallel --use-ortools --ortools-solver sirius WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/run-study-tests" )