git.delta.rocks / unique-network / refs/commits / 555373d45fbd

difftreelog

re-enabled steps in workflow.

Alexander Aksenov2022-08-04parent: #4f557b2.patch.diff
in: master

1 file changed

modified.github/workflows/node_build_test.ymldiffbeforeafterboth
82 - name: Build the stack82 - name: Build the stack
83 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 --build
8484
85 # - name: Wait85 - name: Wait
86 # run: sleep 420s86 run: sleep 420s
8787
88 - name: Install node88 - name: Install node
89 uses: actions/setup-node@v189 uses: actions/setup-node@v1
98 yarn --pure-lockfile98 yarn --pure-lockfile
9999
100 - name: Run tests100 - name: Run tests
101 run: |101 run: |
102 chmod u+x .docker/readyness.js && .docker/readyness.js102 cd tests
103 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/
107106
108# - name: Test Report107 - name: Test Report
109# uses: phoenix-actions/test-reporting@v8108 uses: phoenix-actions/test-reporting@v8
110# id: test-report # Set ID reference for step109 id: test-report # Set ID reference for step
111# if: success() || failure() # run this step even if previous step failed110 if: success() || failure() # run this step even if previous step failed
112# 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 created
114# path: tests/mochawesome-report/test-*.json # Path to test results113 path: tests/mochawesome-report/test-*.json # Path to test results
115# reporter: mochawesome-json114 reporter: mochawesome-json
116# fail-on-error: 'false'115 fail-on-error: 'false'
117116
118# - name: Stop running containers117 - name: Stop running containers
119# if: always() # run this step always118 if: always() # run this step always
120# 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" down
121120