Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/continuous-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
# ------------------

test-from-src:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
image:
Expand All @@ -33,9 +33,9 @@ jobs:
strategy:
matrix:
os:
- "ubuntu-20.04"
- "macos-10.15"
python: ["3.7", "3.8", "3.9", "3.10"]
- "ubuntu-24.04"
- "macos-15"
python: ["3.10", "3.11", "3.12", "3.13"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -51,8 +51,8 @@ jobs:
strategy:
matrix:
os:
- "ubuntu-20.04"
- "macos-10.15"
- "ubuntu-25.04"
- "macos-15"
shared-lib: ["ON", "OFF"]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -67,7 +67,7 @@ jobs:

# Currenlty only sanitize address without Python
test-with-sanitizer:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: mamba-org/provision-with-micromamba@v11
Expand All @@ -78,7 +78,7 @@ jobs:
run: ./dev/run.sh --fix-pythonpath configure -D SANITIZE_ADDRESS=ON -D CMAKE_BUILD_TYPE=CondaRelease -- ctest-lib

check-code:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: mamba-org/provision-with-micromamba@v11
Expand All @@ -88,19 +88,19 @@ jobs:
run: ./dev/run.sh --fix-pythonpath configure -D CMAKE_BUILD_TYPE=CondaRelease -- check-code

test-doc:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: mamba-org/provision-with-micromamba@v11
with:
environment-file: dev/conda.yaml
extra-specs: python="3.9"
extra-specs: python="3.10"
- name: "Configure and build ecole-py-ext. Build and test documentation."
shell: bash -l {0}
run: ./dev/run.sh --fix-pythonpath configure -D CMAKE_BUILD_TYPE=CondaRelease -- test-doc

test-dist:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: mamba-org/provision-with-micromamba@v11
Expand All @@ -110,7 +110,7 @@ jobs:
run: ./dev/run.sh test-dist

test-example-libecole:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: mamba-org/provision-with-micromamba@v11
Expand All @@ -120,7 +120,7 @@ jobs:
run: ./dev/run.sh configure -D ECOLE_BUILD_PY_EXT=OFF -D BUILD_SHARED_LIBS=ON -- test-example-libecole

test-example-configuring:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: mamba-org/provision-with-micromamba@v11
Expand All @@ -137,7 +137,7 @@ jobs:
run: ./dev/run.sh --fix-pythonpath configure -- test-example-configuring

test-example-branching:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: mamba-org/provision-with-micromamba@v11
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
deploy-latest-doc:
if: ${{ github.ref == 'refs/heads/master' }}
needs: all-tests
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
with: {fetch-depth: 0}
Expand Down Expand Up @@ -218,15 +218,15 @@ jobs:
test-version:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
needs: all-tests
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- name: "Check version file matches the version."
run: ./dev/run.sh test-version "${GITHUB_REF#refs/tags/}"

deploy-version-doc:
needs: test-version
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: mamba-org/provision-with-micromamba@v11
Expand All @@ -250,7 +250,7 @@ jobs:
delete_existing: false

deploy-pypi:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: test-version
steps:
- uses: actions/checkout@v2
Expand Down
Loading