Skip to content

Commit

Permalink
MAINT - Bump GH actions (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
trallard authored Oct 23, 2024
2 parents e55b028 + d31fdfc commit fb5fd8b
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 16 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
labels:
- "area: CI 👷🏽‍♀️"
- "area: dependencies 📦"
# ensure we have a nicely formatted commit message
prefix: "MAINT - "
26 changes: 13 additions & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
python -m build
- name: 'Upload extension packages 📤'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: extension-artifacts
path: dist/
Expand All @@ -70,11 +70,11 @@ jobs:
- name: 'Install Python 🐍'
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.12'
architecture: 'x64'

- name: 'Download extension packages 📤'
uses: actions/download-artifact@v3
- name: 'Download extension packages 📥'
uses: actions/download-artifact@v4
with:
name: extension-artifacts

Expand Down Expand Up @@ -102,44 +102,44 @@ jobs:
- name: 'Checkout repository 🛎'
uses: actions/checkout@v4

- name: 'Base Setup'
- name: 'Base Setup 🛠'
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: 'Download extension packages 📤'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: extension-artifacts

- name: 'Install the extension'
- name: 'Install the extension 📦'
run: |
set -eux
python -m pip install "jupyterlab>4" jupyterlab_conda_store*.whl
- name: 'Install dependencies'
- name: 'Install dependencies 📦'
working-directory: ui-tests
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
run: jlpm install

- name: 'Set up browser cache'
- name: 'Set up browser cache 🛠️'
uses: actions/cache@v4
with:
path: |
${{ github.workspace }}/pw-browsers
key: ${{ runner.os }}-${{ hashFiles('ui-tests/yarn.lock') }}

- name: 'Install browser'
- name: 'Install browser 🌐'
run: jlpm playwright install chromium
working-directory: ui-tests

- name: Execute integration tests
- name: 'Execute integration tests 🧪'
working-directory: ui-tests
run: |
jlpm playwright test
- name: Upload Playwright Test report
- name: 'Upload Playwright Test report 📤'
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: jupyterlab_conda_store-playwright-tests
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
twine check dist/*
- name: 'Upload extension packages 📤'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: jupyterlab-extension-package
path: dist/
Expand All @@ -79,7 +79,7 @@ jobs:

steps:
- name: 'Download build artefacts 📥'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: jupyterlab-extension-package
path: dist
Expand All @@ -102,7 +102,7 @@ jobs:

steps:
- name: 'Download build artefacts 📥'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: jupyterlab-extension-package
path: dist
Expand Down

0 comments on commit fb5fd8b

Please sign in to comment.