Skip to content

Commit

Permalink
Repurpose test_release.yml as a launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjackson committed Dec 18, 2024
1 parent 24075c8 commit f3cf092
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run release tests from PyPI and Conda-forge

on:
workflow_dispatch:
inputs:
version:
description: 'The Euphonic release version to test e.g. 0.6.1'
required: true

jobs:
pypi:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/test_release_pypi.yml
with:
version: ${{ inputs.version }}

conda-forge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/test_release_conda.yml
with:
version: ${{ inputs.version }}
6 changes: 6 additions & 0 deletions .github/workflows/test_release_conda.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: test-release
on:
workflow_call:
inputs:
version:
description: 'The Euphonic release version to test e.g. 0.6.1'
required: true

workflow_dispatch:
inputs:
version:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test_release_pypi.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Test PyPI release
on:
workflow_call:
inputs:
version:
description: 'The Euphonic release version to test e.g. 0.6.1'
required: true

workflow_dispatch:
inputs:
version:
Expand Down

0 comments on commit f3cf092

Please sign in to comment.