From 22b346a8e1454277ce450f898f936e7a2c3d91d1 Mon Sep 17 00:00:00 2001 From: German <28149841+germa89@users.noreply.github.com> Date: Mon, 4 Dec 2023 16:59:00 +0100 Subject: [PATCH] Fixing ubuntu CICD (#2541) * Adding a step to test mapdl launching * tests * Testing MAPDL launching * Avoiding using older CentOS images * test without or * hacking exit * test again * removing launching MAPDL --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5be12635b4..e8e9c18773 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -272,7 +272,7 @@ jobs: strategy: fail-fast: false matrix: - mapdl-version: ['v21.1.1', 'v21.2.1', 'v22.1.0', 'v22.2.0', 'v22.2-ubuntu', 'v23.1.0', 'v23.2.0', 'v24.1.0'] + mapdl-version: ['v22.2.1', 'v22.2-ubuntu', 'v23.1.0', 'v23.2.0', 'v24.1.0'] extended_testing: - ${{ github.event_name == 'schedule' || ( github.event_name == 'workflow_dispatch' && inputs.run_all_tests ) || ( github.event_name == 'push' && contains(github.ref, 'refs/tags') ) }} exclude: @@ -614,6 +614,11 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} + - name: "Installing missing package" + run: | + sudo apt-get update + sudo apt-get install -y libgomp1 + - name: "Setup Python" uses: actions/setup-python@v4 with: @@ -630,11 +635,6 @@ jobs: python -m pip install -r minimum_requirements.txt python -c "from ansys.mapdl import core as pymapdl; print('Import successfull')" - - name: "Installing missing package" - run: | - sudo apt-get update - sudo apt-get install -y libgomp1 - - name: "Unit testing requirements installation" run: | python -m pip install pytest pytest-rerunfailures pytest-cov