Skip to content

Commit

Permalink
chore: rename jobs to use package test strings
Browse files Browse the repository at this point in the history
  • Loading branch information
strophy committed Oct 31, 2023
1 parent 2ce0d37 commit 99acc15
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 18 deletions.
23 changes: 11 additions & 12 deletions .github/filters-js.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dapi-grpc:
'@dashevo/dapi-grpc':
- .github/workflows/js-checks.yml
- packages/dapi-grpc/**
- packages/js-grpc-common/**

dapi:
'@dashevo/dapi':
- .github/workflows/js-checks.yml
- packages/dapi/**
- packages/dapi-grpc/**
Expand All @@ -18,7 +18,7 @@ dapi:
- packages/masternode-reward-shares-contract/**
- packages/dash-spv/**

dash-spv:
'@dashevo/dash-spv':
- .github/workflows/js-checks.yml
- packages/dash-spv/**

Expand All @@ -39,7 +39,7 @@ dashmate:
- packages/dpns-contract/**
- packages/dash-spv/**

dashpay-contract:
'@dashevo/dashpay-contract':
- .github/workflows/js-checks.yml
- packages/dashpay-contract/**
- packages/js-dpp/**
Expand All @@ -48,7 +48,7 @@ dashpay-contract:
- packages/feature-flags-contract/**
- packages/dpns-contract/**

js-dapi-client:
'@dashevo/dapi-client':
- .github/workflows/js-checks.yml
- packages/js-dapi-client/**
- packages/dapi-grpc/**
Expand All @@ -60,7 +60,7 @@ js-dapi-client:
- packages/masternode-reward-shares-contract/**
- packages/dash-spv/**

js-dash-sdk:
dash:
- .github/workflows/js-checks.yml
- packages/js-dash-sdk/**
- packages/wallet-lib/**
Expand All @@ -74,19 +74,19 @@ js-dash-sdk:
- packages/dpns-contract/**
- packages/dash-spv/**

js-dpp:
'@dashevo/dpp':
- .github/workflows/js-checks.yml
- packages/js-dpp/**
- packages/feature-flags-contract/**
- packages/masternode-reward-shares-contract/**
- packages/dpns-contract/**
- packages/dashpay-contract/**

js-grpc-common:
'@dashevo/grpc-common':
- .github/workflows/js-checks.yml
- packages/js-grpc-common/**

platform-test-suite:
'@dashevo/platform-test-suite':
- .github/workflows/js-checks.yml
- packages/platform-test-suite/**
- packages/js-dash-sdk/**
Expand All @@ -101,7 +101,7 @@ platform-test-suite:
- packages/dpns-contract/**
- packages/dash-spv/**

wallet-lib:
'@dashevo/wallet-lib':
- .github/workflows/js-checks.yml
- packages/wallet-lib/**
- packages/js-dapi-client/**
Expand All @@ -114,8 +114,7 @@ wallet-lib:
- packages/masternode-reward-shares-contract/**
- packages/dash-spv/**

wasm-dpp:
- .github/workflows/js-dpp.yml
'@dashevo/wasm-dpp':
- .github/workflows/js-checks.yml
- packages/js-dpp/**
- packages/feature-flags-contract/**
Expand Down
7 changes: 3 additions & 4 deletions .github/filters-rs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rs-dpp:
dpp:
- .github/workflows/rs-checks.yml
- packages/feature-flags-contract/**
- packages/dpns-contract/**
Expand All @@ -12,7 +12,7 @@ rs-dpp:
- packages/rs-platform-versioning/**
- packages/rs-dpp/**

rs-drive-abci:
drive-abci:
- .github/workflows/rs-checks.yml
- packages/feature-flags-contract/**
- packages/dpns-contract/**
Expand All @@ -29,7 +29,7 @@ rs-drive-abci:
- packages/rs-drive-abci/**
- packages/rs-platform-value/**

rs-drive:
drive:
- .github/workflows/rs-checks.yml
- packages/feature-flags-contract/**
- packages/dpns-contract/**
Expand All @@ -45,7 +45,6 @@ rs-drive:
- packages/rs-drive/**

wasm-dpp:
- .github/workflows/js-dpp.yml
- .github/workflows/rs-checks.yml
- packages/js-dpp/**
- packages/feature-flags-contract/**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
with:
package: ${{ matrix.js-package }}
skip-tests: ${{ contains(matrix.js-package, 'platform-test-suite') }}
install-browsers: ${{ contains(matrix.js-package, 'js-dapi-client') || contains(matrix.js-package, 'js-dash-sdk') || contains(matrix.js-package, 'js-dpp') || contains(matrix.js-package, 'platform-test-suite') || contains(matrix.js-package, 'wallet-lib') }}
install-browsers: ${{ contains(matrix.js-package, '@dashevo/dapi-client') || contains(matrix.js-package, 'dash') || contains(matrix.js-package, '@dashevo/dpp') || contains(matrix.js-package, '@dashevo/platform-test-suite') || contains(matrix.js-package, '@dashevo/wallet-lib') }}

rs-checks:
name: RS Checks
Expand All @@ -88,7 +88,7 @@ jobs:
wasm-dpp-errors:
name: WASM compilation
needs: [changes]
if: ${{ contains(fromJson(needs.changes.outputs.js-packages), 'wasm-dpp') }}
if: ${{ contains(fromJson(needs.changes.outputs.js-packages), '@dashevo/wasm-dpp') }}
runs-on: [ "self-hosted", "linux", "x64", "ubuntu-platform" ]
timeout-minutes: 15
steps:
Expand Down

0 comments on commit 99acc15

Please sign in to comment.