diff --git a/.github/workflows/test_suite.yml b/.github/workflows/test_suite.yml index cc2330b8..60b68a30 100644 --- a/.github/workflows/test_suite.yml +++ b/.github/workflows/test_suite.yml @@ -14,11 +14,11 @@ jobs: matrix: python-version: [3.8] #platform: [ubuntu-18.04, macos-latest] - platform: [ubuntu-20.04] + platform: [ubuntu-24.04] runs-on: ${{ matrix.platform }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Get LFS files run: git lfs pull # - name: Fix Conda permissions on macOS @@ -28,8 +28,8 @@ jobs: run: | cd .. git clone https://github.com/next-exp/IC.git - - + + - name: Run tests run: | cd .. @@ -38,4 +38,4 @@ jobs: source manage.sh work_in_python_version_no_tests ${{ matrix.python-version }} cd ../ICAROS source icaro_setup.sh - PYTEST_ADDOPTS=--color=yes HYPOTHESIS_PROFILE=travis-ci pytest -v \ No newline at end of file + PYTEST_ADDOPTS=--color=yes HYPOTHESIS_PROFILE=travis-ci pytest -v diff --git a/krcal/core/fit_lt_functions.py b/krcal/core/fit_lt_functions.py index ecc5dde7..4fa72d84 100644 --- a/krcal/core/fit_lt_functions.py +++ b/krcal/core/fit_lt_functions.py @@ -274,7 +274,7 @@ def fit_lifetime_unbined(z : np.array, logging.warn(f'Type error found in fit_lifetime_unbined: not enough events for fit') valid = False - except LinAlgError: + except SystemError: logging.warn(f'LinAlgError error found in fit_lifetime_unbined: not enough events for fit') valid = False