Visitar URL original
Generate release cycle chart and CSV by hugovk · Pull Request #988 · python/devguide · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
Test generating release cycle
  • Loading branch information
hugovk committed Nov 29, 2022
commit 8f9c03c62560fe6444a8da3cf52321c7456769e2
34 changes: 34 additions & 0 deletions .github/workflows/release-cycle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test release cycle

on: [pull_request, push, workflow_dispatch]

env:
FORCE_COLOR: 1

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]

steps:
- uses: actions/checkout@v3

- name: Silence Windows warnings
run: |
git config core.eol lf
git config core.autocrlf true
Comment thread
hugovk marked this conversation as resolved.
Outdated

- uses: actions/setup-python@v4
with:
python-version: "3"

- name: Generate release cycle output
run: python _tools/generate_release_cycle.py
Comment thread
hugovk marked this conversation as resolved.
Outdated

- name: Check for differences
run: |
git status --porcelain
Comment thread
hugovk marked this conversation as resolved.
Outdated
test $(git status --porcelain | wc -l) = 0
Comment thread
hugovk marked this conversation as resolved.