From 99acc152ea91e1ecc2bf9615dcb8b46a4bf81f06 Mon Sep 17 00:00:00 2001 From: strophy Date: Tue, 31 Oct 2023 16:02:20 +1000 Subject: [PATCH] chore: rename jobs to use package test strings --- .github/filters-js.yml | 23 +++++++++++------------ .github/filters-rs.yml | 7 +++---- .github/workflows/tests.yml | 4 ++-- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/filters-js.yml b/.github/filters-js.yml index 4baff99eae..465ad9fe5f 100644 --- a/.github/filters-js.yml +++ b/.github/filters-js.yml @@ -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/** @@ -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/** @@ -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/** @@ -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/** @@ -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/** @@ -74,7 +74,7 @@ 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/** @@ -82,11 +82,11 @@ js-dpp: - 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/** @@ -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/** @@ -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/** diff --git a/.github/filters-rs.yml b/.github/filters-rs.yml index 66d27b00d7..e9eba348b2 100644 --- a/.github/filters-rs.yml +++ b/.github/filters-rs.yml @@ -1,4 +1,4 @@ -rs-dpp: +dpp: - .github/workflows/rs-checks.yml - packages/feature-flags-contract/** - packages/dpns-contract/** @@ -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/** @@ -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/** @@ -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/** diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 28b12c72f7..2bd270f564 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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: