|
56 | 56 | - name: test
|
57 | 57 | run: ./ci/github/unit-testing/api.bash test
|
58 | 58 |
|
59 |
| - unit-test-api-gateway: |
60 |
| - name: Unit-testing api-gateway |
| 59 | + unit-test-api-server: |
| 60 | + name: Unit-testing api-server |
61 | 61 | runs-on: ${{ matrix.os }}
|
62 | 62 | strategy:
|
63 | 63 | matrix:
|
@@ -86,22 +86,22 @@ jobs:
|
86 | 86 | restore-keys: |
|
87 | 87 | ${{ runner.os }}-pip-
|
88 | 88 | - name: install
|
89 |
| - run: ./ci/github/unit-testing/api-gateway.bash install |
| 89 | + run: ./ci/github/unit-testing/api-server.bash install |
90 | 90 | - name: test
|
91 |
| - run: ./ci/github/unit-testing/api-gateway.bash test |
| 91 | + run: ./ci/github/unit-testing/api-server.bash test |
92 | 92 | - uses: codecov/codecov-action@v1
|
93 | 93 | with:
|
94 | 94 | flags: unittests #optional
|
95 | 95 | - name: prepare codeclimate coverage file
|
96 | 96 | run: |
|
97 | 97 | curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
|
98 | 98 | chmod +x ./cc-test-reporter
|
99 |
| - ./cc-test-reporter format-coverage -t coverage.py -o codeclimate.unit_api_gateway_coverage.json coverage.xml |
| 99 | + ./cc-test-reporter format-coverage -t coverage.py -o codeclimate.unit_api_server_coverage.json coverage.xml |
100 | 100 | - name: upload codeclimate coverage
|
101 | 101 | uses: actions/upload-artifact@v1
|
102 | 102 | with:
|
103 |
| - name: unit_api_gateway_coverage |
104 |
| - path: codeclimate.unit_api_gateway_coverage.json |
| 103 | + name: unit_api_server_coverage |
| 104 | + path: codeclimate.unit_api_server_coverage.json |
105 | 105 |
|
106 | 106 | unit-test-catalog:
|
107 | 107 | name: Unit-testing catalog
|
@@ -748,6 +748,8 @@ jobs:
|
748 | 748 | run: ./ci/github/system-testing/swarm-deploy.bash clean_up
|
749 | 749 |
|
750 | 750 | system-test-e2e:
|
| 751 | + # FIXME: skip the job until make it faster and more reliable |
| 752 | + # https://github.com/ITISFoundation/osparc-simcore/issues/1594 |
751 | 753 | name: System-testing e2e
|
752 | 754 | needs: [build-test-images]
|
753 | 755 | runs-on: ${{ matrix.os }}
|
@@ -794,8 +796,15 @@ jobs:
|
794 | 796 | key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
795 | 797 | restore-keys: |
|
796 | 798 | ${{ runner.os }}-node-
|
797 |
| - - name: install |
798 |
| - run: ./ci/github/system-testing/e2e.bash install |
| 799 | + - name: setup images |
| 800 | + run: ./ci/github/system-testing/e2e.bash setup_images |
| 801 | + - name: setup environment |
| 802 | + run: ./ci/github/system-testing/e2e.bash setup_environment |
| 803 | + - name: setup registry |
| 804 | + run: ./ci/github/system-testing/e2e.bash setup_registry |
| 805 | + - name: setup database |
| 806 | + timeout-minutes: 2 |
| 807 | + run: ./ci/github/system-testing/e2e.bash setup_database |
799 | 808 | - name: test
|
800 | 809 | run: ./ci/github/system-testing/e2e.bash test
|
801 | 810 | - name: recover docker logs
|
@@ -838,7 +847,7 @@ jobs:
|
838 | 847 | - uses: actions/checkout@v2
|
839 | 848 | - uses: actions/download-artifact@v1
|
840 | 849 | with:
|
841 |
| - name: unit_api_gateway_coverage |
| 850 | + name: unit_api_server_coverage |
842 | 851 | - uses: actions/download-artifact@v1
|
843 | 852 | with:
|
844 | 853 | name: unit_catalog_coverage
|
@@ -873,7 +882,7 @@ jobs:
|
873 | 882 | run: |
|
874 | 883 | mkdir all_coverages
|
875 | 884 | cp \
|
876 |
| - unit_api_gateway_coverage/*.json \ |
| 885 | + unit_api_server_coverage/*.json \ |
877 | 886 | unit_catalog_coverage/*.json \
|
878 | 887 | unit_director_coverage/*.json \
|
879 | 888 | unit_sidecar_coverage/*.json \
|
|
0 commit comments