difftreelog
re-enabled steps in workflow.
in: master
1 file changed
.github/workflows/node_build_test.ymldiffbeforeafterboth82 - name: Build the stack82 - name: Build the stack83 run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build83 run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build848485 # - name: Wait85 - name: Wait86 # run: sleep 420s86 run: sleep 420s878788 - name: Install node88 - name: Install node89 uses: actions/setup-node@v189 uses: actions/setup-node@v198 yarn --pure-lockfile98 yarn --pure-lockfile9999100 - name: Run tests100 - name: Run tests101 run: |101 run: |102 chmod u+x .docker/readyness.js && .docker/readyness.js102 cd tests103 cd tests103 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}104 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}105 env:104 env:106 RPC_URL: http://127.0.0.1:9933/105 RPC_URL: http://127.0.0.1:9933/107106108# - name: Test Report107 - name: Test Report109# uses: phoenix-actions/test-reporting@v8108 uses: phoenix-actions/test-reporting@v8110# id: test-report # Set ID reference for step109 id: test-report # Set ID reference for step111# if: success() || failure() # run this step even if previous step failed110 if: success() || failure() # run this step even if previous step failed112# with:111 with:113# name: Tests ${{ matrix.network }} # Name of the check run which will be created112 name: Tests ${{ matrix.network }} # Name of the check run which will be created114# path: tests/mochawesome-report/test-*.json # Path to test results113 path: tests/mochawesome-report/test-*.json # Path to test results115# reporter: mochawesome-json114 reporter: mochawesome-json116# fail-on-error: 'false'115 fail-on-error: 'false'117116118# - name: Stop running containers117 - name: Stop running containers119# if: always() # run this step always118 if: always() # run this step always120# run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down119 run: docker-compose -f ".docker/docker-compose-dev.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down121120