Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-jerry-ye committed Jun 19, 2024
1 parent 5aba030 commit db68c59
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: check examples

on:
push:
branches:
- main
pull_request:
paths:
- examples
Expand Down Expand Up @@ -81,7 +79,8 @@ jobs:
Get-ChildItem -Path ".\examples" -Directory | ForEach-Object {
Write-Output "Processing $($_.FullName)"
Set-Location $_.FullName
if (!(moon install) -or !(moon check --target ${{ matrix.backend }}) -or !(moon test --target ${{ matrix.backend }})) {
moon install && moon check --target ${{ matrix.backend }} && moon test --target ${{ matrix.backend }}
if (-ne $?) {
Write-Output "Failed in $($_.FullName)"
$failed_directories += $_.FullName
}
Expand Down

0 comments on commit db68c59

Please sign in to comment.