git.delta.rocks / unique-network / refs/commits / 70da175fb9fe

difftreelog

Merge branch 'develop' of https://github.com/usetech-llc/nft_private into develop

str-mv2021-08-12parents: #e961e84 #d49b9b4.patch.diff
in: master

2 files changed

modified.github/workflows/node_build_test.ymldiffbeforeafterboth
before · .github/workflows/node_build_test.yml
1name: Build & test23# Controls when the action will run. 4on:5 # Triggers the workflow on push or pull request events but only for the master branch6  push:7    branches: [ develop ]8 # pull_request:9 #   branches: [ develop ]10  # Allows you to run this workflow manually from the Actions tab11  workflow_dispatch:1213# A workflow run is made up of one or more jobs that can run sequentially or in parallel14jobs:15  build:16    # The type of runner that the job will run on17    runs-on: ubuntu-20.041819  #  if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true2021    # Steps represent a sequence of tasks that will be executed as part of the job22    steps:23      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it24      - uses: actions/checkout@v225          26     #runs ssh connection27      - name: Go to server28        uses: appleboy/ssh-action@master29        with:30          host: ${{ secrets.SERVER_IP }}31          username: ${{ secrets.SERVER_USERNAME }}32          key: ${{ secrets.KEY }}33          port: ${{ secrets.SERVER_PORT }}34          command_timeout: 240m35          script: |36            eval $(ssh-agent -s)37            ssh-add /home/polkadot/.ssh/git_hub38            git clone git@github.com:usetech-llc/nft_private.git39            cd nft_private40            git checkout develop41            # git pull --all42            chmod +x ci_node.sh43            ./ci_node.sh44            rm -rf /home/polkadot/nft_private
after · .github/workflows/node_build_test.yml
1name: Build & test23# Controls when the action will run. 4on:5 # Triggers the workflow on push or pull request events but only for the master branch6  push:7    branches: [ develop ]8 # pull_request:9 #   branches: [ develop ]10  # Allows you to run this workflow manually from the Actions tab11  workflow_dispatch:1213# A workflow run is made up of one or more jobs that can run sequentially or in parallel14jobs:15  build:16    # The type of runner that the job will run on17    runs-on: ubuntu-20.041819  #  if: github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true2021    # Steps represent a sequence of tasks that will be executed as part of the job22    steps:23      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it24      - uses: actions/checkout@v225          26     #runs ssh connection27      - name: Go to server28        uses: appleboy/ssh-action@master29        with:30          host: ${{ secrets.SERVER_IP }}31          username: ${{ secrets.SERVER_USERNAME }}32          key: ${{ secrets.KEY }}33          port: ${{ secrets.SERVER_PORT }}34          command_timeout: 300m35          script: |36            eval $(ssh-agent -s)37            ssh-add /home/devops/.ssh/git_hub38            git clone git@github.com:UniqueNetwork/nft_private.git39            cd nft_private40            git checkout develop41            # git pull --all42            chmod +x ci_node.sh43            ./ci_node.sh44            rm -rf /home/polkadot/nft_private
modifiedtests/src/pallet-presence.test.tsdiffbeforeafterboth
--- a/tests/src/pallet-presence.test.ts
+++ b/tests/src/pallet-presence.test.ts
@@ -23,6 +23,9 @@
   'parachainsystem',
   'parachaininfo',
   'evm',
+  'evmcodersubstrate',
+  'evmcontracthelpers',
+  'evmtransactionpayment',
   'ethereum',
   'xcmpqueue',
   'polkadotxcm',
@@ -59,7 +62,7 @@
   });
   it('No extra pallets are included', async () => {
     await usingApi(async api => {
-      expect(getModuleNames(api).length).to.be.equal(requiredPallets.length + consensusPallets.length);
+      expect(getModuleNames(api).sort()).to.be.deep.equal([...requiredPallets, ...consensusPallets].sort());
     });
   });
 });