git.delta.rocks / unique-network / refs/commits / 52dd1bfd1865

difftreelog

Merge pull request #13 from lzadjsf/core-ci-step-2

Alex2022-08-03parents: #111f433 #dab0d12.patch.diff
in: master
Switched back to tests without docker container.

2 files changed

modified.docker/docker-compose-tests-parachain.ymldiffbeforeafterboth
15 env_file:15 env_file:
16 - ./.env16 - ./.env
17
18 integration_tests:
19 build:
20 context: ../tests/
21 dockerfile: Dockerfile-tests
22 environment:17 expose:
23 RPC_URL: http://blockchain_nodes:9933/18 - 9944
19 - 9933
24 volumes:20 ports:
25 - ./tests/src/config_docker.ts:/unique_parachain/src/config.ts21 - 127.0.0.1:9944:9944
26 - /home/ubuntu/mochawesome-report:/unique_parachain/mochawesome-report22 - 127.0.0.1:9933:9933
27 depends_on:23
28 - blockchain_nodes24# integration_tests:
25# build:
26# context: ../tests/
27# dockerfile: Dockerfile-tests
28# environment:
29# RPC_URL: http://blockchain_nodes:9933/
30# volumes:
31# - ./tests/src/config_docker.ts:/unique_parachain/src/config.ts
32# - /home/ubuntu/mochawesome-report:/unique_parachain/mochawesome-report
33# depends_on:
34# - blockchain_nodes
2935
modified.github/workflows/build-test-master.ymldiffbeforeafterboth
121 reporter: mochawesome-json121 reporter: mochawesome-json
122 fail-on-error: 'false'122 fail-on-error: 'false'
123123
124 # - name: Stop running containers124 - name: Stop running containers
125 # if: always() # run this step always125 if: always() # run this step always
126 # run: docker-compose -f ".docker/docker-compose-tests-parachain.yml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down126 run: docker-compose -f ".docker/docker-compose-tests-parachain.yml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down
127127