mirror of
https://github.com/joshuadavidthomas/django-language-server.git
synced 2025-09-06 18:30:35 +00:00
add test workflow call to release workflow (#93)
This commit is contained in:
parent
d38ee4361d
commit
e54869a151
1 changed files with 9 additions and 2 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
@ -9,6 +9,7 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
- "release/*"
|
||||
tags:
|
||||
- "*"
|
||||
pull_request:
|
||||
|
@ -17,7 +18,7 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: test-${{ github.head_ref }}
|
||||
group: ${{ github.workflow }}-${{ github.head_ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
|
@ -158,10 +159,16 @@ jobs:
|
|||
name: wheels-sdist
|
||||
path: dist
|
||||
|
||||
test:
|
||||
uses: ./.github/workflows/test.yml
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
||||
with:
|
||||
os: "macos-latest,ubuntu-latest,windows-latest"
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
|
||||
needs: [linux, musllinux, windows, macos, sdist]
|
||||
needs: [linux, musllinux, windows, macos, sdist, test]
|
||||
environment: release
|
||||
permissions:
|
||||
# Use to sign the release artifacts
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue