Skip to content

Commit

Permalink
ci: pin os version to avoid unexpected breakage of ci
Browse files Browse the repository at this point in the history
As of this writing, we had failure due to an osx image update:
 * https://github.com/actions/setup-python/issues/852

And in the past I have seen the same for Ubuntu images.
 * bqplot/bqplot#1588 (comment)
  • Loading branch information
maartenbreddels committed Apr 25, 2024
1 parent 7e18627 commit db3c0c3
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-release.yml
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
check_release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
group: [check_release, link_check]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Expand Up @@ -6,11 +6,11 @@ on:
branches: '*'
jobs:
build:
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu]
os: [ubuntu-22.04]
python-version: [ '3.7' ]
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/downstream.yml
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
downstream:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
timeout-minutes: 15

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/enforce-label.yml
Expand Up @@ -5,7 +5,7 @@ on:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: enforce-triage-label
uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1
6 changes: 3 additions & 3 deletions .github/workflows/js.yml
Expand Up @@ -8,19 +8,19 @@ on:

jobs:
build:
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos]
os: [ubuntu-22.04, macos-12.0]
group: [notebook, base, services]
exclude:
- group: services
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Set up Node
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/playwright.yml
Expand Up @@ -7,18 +7,18 @@ on:
branches: '*'
jobs:
build:
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos]
os: [ubuntu-22.04, macos-12.0]
python-version: [ '3.7', '3.8', '3.9', '3.10']
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pythonpackage.yml
Expand Up @@ -8,11 +8,11 @@ on:

jobs:
build:
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu, macos, windows]
os: [ubuntu-22.04, macos-12.0, windows-2022]
python-version: ["3.7", "3.8", "3.9", "3.10", "pypy-3.8"]
exclude:
- os: windows
Expand Down

0 comments on commit db3c0c3

Please sign in to comment.