diff --git a/.github/workflows/test_release.yml b/.github/workflows/test_release.yml new file mode 100644 index 000000000..cfe61878e --- /dev/null +++ b/.github/workflows/test_release.yml @@ -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 }} diff --git a/.github/workflows/test_release_conda.yml b/.github/workflows/test_release_conda.yml index ee61504eb..3ed066976 100644 --- a/.github/workflows/test_release_conda.yml +++ b/.github/workflows/test_release_conda.yml @@ -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: diff --git a/.github/workflows/test_release_pypi.yml b/.github/workflows/test_release_pypi.yml index 41df988dd..2e1e07587 100644 --- a/.github/workflows/test_release_pypi.yml +++ b/.github/workflows/test_release_pypi.yml @@ -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: