From 149303a56c43e1b815bea89f8a079fb8ce723b50 Mon Sep 17 00:00:00 2001 From: baixiac Date: Wed, 22 May 2024 16:53:29 +0100 Subject: [PATCH 1/2] NO-TICKET replace the deprecated runner --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2e27077..5fb490f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: jobs: main: - runs-on: macos-11 + runs-on: ubuntu-22.04 strategy: matrix: part: [ @@ -34,7 +34,7 @@ jobs: pip install -r requirements-dev.txt - name: Install IPython kernel run: | - python -m ipykernel install --name smoketests + sudo python -m ipykernel install --name smoketests - name: Smoke test tutorial run: | pytest --collect-only --nbmake ./notebooks/${{ matrix.part }} From 8854c4e36255e1c49b02b4f2590a9a6304715f7d Mon Sep 17 00:00:00 2001 From: baixiac Date: Wed, 22 May 2024 17:43:05 +0100 Subject: [PATCH 2/2] NO-TICKET fix warnings of GH actions --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5fb490f..b9735dc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: jobs: main: - runs-on: ubuntu-22.04 + runs-on: macos-12 strategy: matrix: part: [ @@ -23,9 +23,9 @@ jobs: ] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: "3.8" - name: Install dependencies @@ -34,7 +34,7 @@ jobs: pip install -r requirements-dev.txt - name: Install IPython kernel run: | - sudo python -m ipykernel install --name smoketests + python -m ipykernel install --name smoketests - name: Smoke test tutorial run: | pytest --collect-only --nbmake ./notebooks/${{ matrix.part }}