Skip to content

Commit

Permalink
ci: Try a matrix of ubuntu versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gtdang committed May 30, 2024
1 parent d831e9b commit 20e2598
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 20e2598

Please sign in to comment.