From ae2c0615a0c92885143dc9042f079032ebcfa1d7 Mon Sep 17 00:00:00 2001
From: Daniel Weindl <daniel.weindl@helmholtz-munich.de>
Date: Fri, 17 Nov 2023 08:04:39 +0100
Subject: [PATCH] ?

---
 .github/workflows/test_python_cplusplus.yml | 149 --------------------
 1 file changed, 149 deletions(-)

diff --git a/.github/workflows/test_python_cplusplus.yml b/.github/workflows/test_python_cplusplus.yml
index 1dbcc94246..8c2ad208ab 100644
--- a/.github/workflows/test_python_cplusplus.yml
+++ b/.github/workflows/test_python_cplusplus.yml
@@ -50,155 +50,6 @@ jobs:
          -Dsonar.cfamily.build-wrapper-output=bw-output \
          -Dsonar.projectVersion="$(git describe --abbrev=4 --dirty=-dirty --always --tags | tr -d '\n')"
 
-  ubuntu-python-tests:
-    name: Python tests Ubuntu
-    runs-on: ubuntu-22.04
-
-    strategy:
-      matrix:
-        python-version: [ "3.9" ]
-
-    steps:
-    - name: Set up Python ${{ matrix.python-version }}
-      uses: actions/setup-python@v4
-      with:
-        python-version: ${{ matrix.python-version }}
-
-    - uses: actions/checkout@v3
-    - run: git fetch --prune --unshallow
-
-    - run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
-
-    - name: Set up AMICI C++ libraries
-      uses: ./.github/actions/setup-amici-cpp
-
-    - name: Install python package
-      run: scripts/installAmiciSource.sh
-
-    - name: Python tests
-      run: |
-        source build/venv/bin/activate \
-        && pytest \
-          --ignore-glob=*petab* \
-          --ignore-glob=*test_splines.py \
-          --cov=amici \
-          --cov-report=xml:"${AMICI_DIR}/build/coverage_py.xml" \
-          --cov-append \
-          --durations=10 \
-          ${AMICI_DIR}/python/tests
-
-    - name: Python tests splines
-      if: ${{ github.base_ref == 'master' || github.event.merge_group.base_ref == 'master'}}
-      run: |
-        source build/venv/bin/activate \
-        && pytest \
-          --cov=amici \
-          --cov-report=xml:"${AMICI_DIR}/build/coverage_py.xml" \
-          --cov-append \
-          --durations=10 \
-          ${AMICI_DIR}/python/tests/test_splines.py
-
-    - name: Codecov Python
-      uses: codecov/codecov-action@v3.1.0
-      with:
-        token: ${{ secrets.CODECOV_TOKEN }}
-        file: build/coverage_py.xml
-        flags: python
-        fail_ci_if_error: true
-        verbose: true
-
-    - name: lcov
-      run: |
-        lcov --compat-libtool --no-external \
-        -d ${AMICI_DIR}/build/CMakeFiles/amici.dir/src \
-        -b ${AMICI_DIR} -c -o coverage_cpp.info \
-        && lcov --compat-libtool --no-external \
-        -d ${AMICI_DIR}/python/sdist/build/temp_amici/CMakeFiles/amici.dir/src \
-        -b ${AMICI_DIR}/python/sdist -c -o coverage_py.info \
-        && lcov -a coverage_cpp.info -a coverage_py.info -o coverage.info
-
-    - name: Codecov CPP
-      uses: codecov/codecov-action@v3.1.0
-      with:
-        token: ${{ secrets.CODECOV_TOKEN }}
-        file: coverage.info
-        flags: cpp_python
-        fail_ci_if_error: true
-
-    - name: Run sonar-scanner
-      env:
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
-      run: |
-        sonar-scanner \
-         -Dsonar.cfamily.build-wrapper-output=bw-output \
-         -Dsonar.projectVersion="$(git describe --abbrev=4 --dirty=-dirty --always --tags | tr -d '\n')"
-
-
-  ubuntu-notebook-tests:
-    name: Notebook tests Ubuntu
-    runs-on: ubuntu-22.04
-
-    strategy:
-      matrix:
-        python-version: [ "3.9" ]
-
-    steps:
-    - name: Set up Python ${{ matrix.python-version }}
-      uses: actions/setup-python@v4
-      with:
-        python-version: ${{ matrix.python-version }}
-
-    - uses: actions/checkout@v3
-    - run: git fetch --prune --unshallow
-
-    - run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
-
-    - name: Set up AMICI C++ libraries
-      uses: ./.github/actions/setup-amici-cpp
-
-    - name: Install python package
-      run: scripts/installAmiciSource.sh
-
-    - name: Install notebook dependencies
-      run: |
-        source build/venv/bin/activate \
-        && pip install jax[cpu]
-
-    - name: example notebooks
-      run: scripts/runNotebook.sh python/examples/example_*/
-
-    - name: doc notebooks
-      run: scripts/runNotebook.sh documentation/GettingStarted.ipynb
-
-    - name: Codecov Python
-      uses: codecov/codecov-action@v3.1.0
-      with:
-        token: ${{ secrets.CODECOV_TOKEN }}
-        file: build/coverage_py.xml
-        flags: python
-        fail_ci_if_error: true
-        verbose: true
-
-    - name: lcov
-      run: |
-        lcov --compat-libtool --no-external \
-        -d ${AMICI_DIR}/build/CMakeFiles/amici.dir/src \
-        -b ${AMICI_DIR} -c -o coverage_cpp.info \
-        && lcov --compat-libtool --no-external \
-        -d ${AMICI_DIR}/python/sdist/build/temp_amici/CMakeFiles/amici.dir/src \
-        -b ${AMICI_DIR}/python/sdist -c -o coverage_py.info \
-        && lcov -a coverage_cpp.info -a coverage_py.info -o coverage.info
-
-    - name: Run sonar-scanner
-      env:
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-        SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
-      run: |
-        sonar-scanner \
-         -Dsonar.cfamily.build-wrapper-output=bw-output \
-         -Dsonar.projectVersion="$(git describe --abbrev=4 --dirty=-dirty --always --tags | tr -d '\n')"
-
   osx:
     name: Tests OSX
     runs-on: macos-latest