Skip to content

Commit

Permalink
Add if clause in rusk-wallet ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Daksh14 committed Aug 20, 2024
1 parent f1470ec commit 9707419
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ruskwallet_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
- 'rusk-wallet/**'
- '.github/workflows/ruskwallet_ci.yml'
fmt:
needs: changes
if: needs.changes.outputs.run-ci == 'true'
name: Rustfmt
runs-on: core
steps:
Expand All @@ -36,6 +38,8 @@ jobs:
- run: cargo fmt --all -- --check

analyze:
needs: changes
if: needs.changes.outputs.run-ci == 'true'
name: Dusk Analyzer
runs-on: core
steps:
Expand All @@ -45,6 +49,8 @@ jobs:
- run: cargo dusk-analyzer

test_nightly-linux:
needs: changes
if: needs.changes.outputs.run-ci == 'true'
name: "[Linux] Nightly tests"
runs-on: core

Expand All @@ -57,6 +63,8 @@ jobs:
working-directory: ./rusk-wallet

test_nightly-macintel:
needs: changes
if: needs.changes.outputs.run-ci == 'true'
name: "[Mac Intel] Nightly tests"
runs-on: macos-latest

Expand All @@ -71,6 +79,8 @@ jobs:
working-directory: ./rusk-wallet

test_nightly-macm1:
needs: changes
if: needs.changes.outputs.run-ci == 'true'
name: "[Mac arm64] Nightly checks"
runs-on: macos-latest

Expand All @@ -85,6 +95,8 @@ jobs:
working-directory: ./rusk-wallet

test_nightly-win:
needs: changes
if: needs.changes.outputs.run-ci == 'true'
name: "[Windows] Nightly tests"
runs-on: windows-latest

Expand Down

0 comments on commit 9707419

Please sign in to comment.