Skip to content

Commit

Permalink
ci: remove diff test from release workflow (#4768)
Browse files Browse the repository at this point in the history
Co-authored-by: LingyuCoder <--global>
  • Loading branch information
LingyuCoder authored Nov 24, 2023
1 parent 8b0915d commit 462ec88
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,15 @@ jobs:
target: x86_64-unknown-linux-gnu
profile: "debug"
runner: ${{ needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS }}
test-diff: true

# test-windows:
# name: Test Windows
# uses: ./.github/workflows/reusable-build.yml
# with:
# target: x86_64-pc-windows-msvc
# profile: "debug"
# test-diff: true

test-mac:
name: Test Mac
Expand All @@ -58,6 +60,8 @@ jobs:
target: x86_64-apple-darwin
profile: "debug"
runner: ${{ needs.get-runner-labels.outputs.MACOS_RUNNER_LABELS }}
test-diff: true

cargo-deny:
name: Check license of dependencies
runs-on: ubuntu-latest
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ on:
type: boolean
required: false
default: true
test-diff: # Run Diff Test
type: boolean
required: false
default: false
ref: # Git reference to checkout
required: false
type: string
Expand Down Expand Up @@ -262,9 +266,9 @@ jobs:
if: ${{ inputs.target == 'x86_64-pc-windows-msvc' && matrix.node != '14' }}
run: pnpm run test:ci

### Diff with webpack
- name: Diff test
timeout-minutes: 15
if: ${{ inputs.test-diff }}
run: pnpm run test:diff

### write the latest metric into branch gh-pages
Expand Down

0 comments on commit 462ec88

Please sign in to comment.