ci: run the release when the test is skipped [skip test]

This commit is contained in:
Amin Yahyaabadi 2023-09-01 14:48:28 -07:00
parent 5e87b7794a
commit ebe8a86b02
1 changed files with 3 additions and 2 deletions

View File

@ -135,7 +135,7 @@ jobs:
Test:
name: Test-${{ matrix.os }}
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
needs: [Build]
runs-on: ${{ matrix.os }}
strategy:
@ -191,6 +191,7 @@ jobs:
# uses: mxschmitt/action-tmate@v3
- name: Tests
if: ${{ !contains(github.event.head_commit.message, '[skip test]') }}
run: |
pnpm run test
env:
@ -214,7 +215,7 @@ jobs:
Docker:
name: Test-${{ matrix.container }}
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
needs: [Build]
runs-on: ${{ matrix.os }}
strategy: