Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generate-changelog test #236

Merged
merged 3 commits into from
Jan 2, 2022
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ jobs:
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RH_REPOSITORY: jupyter-server/jupyter_releaser
RH_SINCE: v0.3.0
RH_UNTIL: v0.4.0
RH_SINCE: v0.10.2
RH_UNTIL: v0.10.3
run: |
set -eux
python -m jupyter_releaser.actions.generate-changelog
cat CHANGELOG_ENTRY.md
# Check for version entry in between the two versions and one outside
cat CHANGELOG_ENTRY.md | grep -q "#95"
cat CHANGELOG_ENTRY.md | grep -q "compare/v0.3.0...v0.4.0"
# Check for version entry contents
cat CHANGELOG_ENTRY.md | grep -q "#234"
cat CHANGELOG_ENTRY.md | grep -q "compare/${RH_SINCE}...${RH_UNTIL}"
# make sure it works with different settings
export RH_SINCE=
export RH_UNTIL=
Expand Down