git.delta.rocks / unique-network / refs/commits / 4078c21db017

difftreelog

Update node-only-update_v3.yml

Alex2022-10-18parent: #4be0263.patch.diff
in: master

1 file changed

modified.github/workflows/node-only-update_v3.ymldiffbeforeafterboth
1name: nodes-only update1name: Parallele tests
22
3# Controls when the action will run.3# Controls when the action will run.
4on:4on:
172 reporter: mochawesome-json173 reporter: mochawesome-json
173 fail-on-error: 'false'174 fail-on-error: 'false'
174 175
176 - name: Run Sequential tests on Node Parachain
177 working-directory: ${{ matrix.mainnet_branch }}/tests
178 run: |
179 yarn install
180 yarn add mochawesome
181 echo "Ready to start tests"
182 yarn polkadot-types
183 NOW=$(date +%s) && yarn testSequential --reporter mochawesome --reporter-options reportFilename=test-sequential-${NOW}
184 env:
185 RPC_URL: http://127.0.0.1:9933/
186
175 - name: Stop running containers187 - name: Sequential Tests report
188 uses: phoenix-actions/test-reporting@v8
189 id: test-report-sequential
176 if: always() # run this step always190 if: success() || failure() # run this step even if previous step failed
177 run: docker-compose -f ".docker/docker-compose-forkless.yml" -f ".docker/docker-compose.node.${{ matrix.network }}.yml" down --volumes191 with:
178192 name: Parallel Tests report - ${{ matrix.network }} # Name of the check run which will be created
193 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-sequential-*.json # Path to test results
194 reporter: mochawesome-json
195 fail-on-error: 'false'
196
179 - name: Remove builder cache197 - name: Stop running containers
180 if: always() # run this step always198 if: always() # run this step always
181 run: |199 run: docker-compose -f ".docker/docker-compose-forkless.yml" -f ".docker/docker-compose.node.${{ matrix.network }}.yml" down --volumes
182 docker builder prune -f -a200
183 docker system prune -f
184 docker image prune -f -a
185
186 - name: List files in Workspace201 - name: Remove builder cache
187 if: always()202 if: always() # run this step always
188 uses: |203 run: |
189 ls -la ./204 docker builder prune -f -a
205 docker system prune -f
206 docker image prune -f -a
207
208# - name: List files in Workspace
209# if: always()
210# uses: |
211# ls -la ./
212#
190213