diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 8f5d224c7..6e7c90f7e 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -12,8 +12,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest] - python-version: [3.8, 3.9] + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04] + python-version: [3.8] steps: - uses: actions/checkout@v4 @@ -25,7 +25,7 @@ jobs: - name: Install ubuntu dependencies shell: bash -el {0} run: | - if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then + if [ "${{ matrix.os }}" == "ubuntu-"* ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get install libopenmpi-dev openmpi-bin