Skip to content

Commit

Permalink
Merge pull request #134 from ecmwf/develop
Browse files Browse the repository at this point in the history
prepare 0.5.10
  • Loading branch information
floriankrb authored Nov 15, 2024
2 parents 88a549a + 80de4c6 commit 9d20645
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/changelog-release-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
name: "Update Changelog"

on:
release:
types: [released]
workflow_dispatch: ~
workflow_run:
workflows:
- Upload Python Package
types:
- completed

permissions:
pull-requests: write
Expand All @@ -13,6 +15,7 @@ permissions:
jobs:
update:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}

steps:
- name: Checkout code
Expand All @@ -25,11 +28,18 @@ jobs:
with:
latest-version: ${{ github.event.release.tag_name }}
heading-text: ${{ github.event.release.name }}
release-notes: ${{ github.event.release.body }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
branch: docs/changelog-update-${{ github.event.release.tag_name }}
base: develop
title: '[Changelog] Update to ${{ github.event.release.tag_name }}'
body: |
This PR updates the changelog to include the changes in the latest release.
> [!CAUTION]
> Merge DO NOT squash to correctly update the tag version of `develop` branch.
add-paths: |
CHANGELOG.md
5 changes: 5 additions & 0 deletions tests/xarray/test_samples.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# nor does it submit to any jurisdiction.


import os

import pytest
import requests
import xarray as xr
Expand Down Expand Up @@ -50,6 +52,9 @@ def _test_samples(n, check_skip=True):


@pytest.mark.parametrize("n", SAMPLES)
# it would be nice to use a @pytest.mark.slow and configure this globally
# this could be done when refactoring the tests, and setting up canary/nightly builds
@pytest.mark.skipif(not os.environ.get("SLOW_TESTS"), reason="No SLOW_TESTS env var")
def test_samples(n):
_test_samples(n)

Expand Down

0 comments on commit 9d20645

Please sign in to comment.