@@ -377,63 +377,6 @@ jobs:
377377 name : codeclimate-${{ github.job }}-coverage
378378 path : codeclimate.${{ github.job }}_coverage.json
379379
380- unit-test-sidecar :
381- timeout-minutes : 14 # if this timeout gets too small, then split the tests
382- name : " [unit] sidecar"
383- runs-on : ${{ matrix.os }}
384- strategy :
385- matrix :
386- python : [3.8]
387- os : [ubuntu-20.04]
388- docker_buildx : [v0.5.1]
389- docker_compose : [1.29.1]
390- include :
391- - docker_compose : 1.29.1
392- docker_compose_sha : 8097769d32e34314125847333593c8edb0dfc4a5b350e4839bef8c2fe8d09de7
393- fail-fast : false
394- steps :
395- - uses : actions/checkout@v2
396- - name : setup docker buildx
397- id : buildx
398- uses : docker/setup-buildx-action@v1
399- with :
400- version : ${{ matrix.docker_buildx }}
401- driver : docker
402- - name : setup docker-compose
403- run : sudo ./ci/github/helpers/setup_docker_compose.bash ${{ matrix.docker_compose }} ${{ matrix.docker_compose_sha }}
404- - name : setup python environment
405- uses : actions/setup-python@v2
406- with :
407- python-version : ${{ matrix.python }}
408- - name : show system version
409- run : ./ci/helpers/show_system_versions.bash
410- - uses : actions/cache@v2
411- name : getting cached data
412- with :
413- path : ~/.cache/pip
414- key : ${{ runner.os }}-pip-sidecar-${{ hashFiles('services/sidecar/requirements/ci.txt') }}
415- restore-keys : |
416- ${{ runner.os }}-pip-sidecar-
417- ${{ runner.os }}-pip-
418- ${{ runner.os }}-
419- - name : install
420- run : ./ci/github/unit-testing/sidecar.bash install
421- - name : test
422- run : ./ci/github/unit-testing/sidecar.bash test
423- 424- with :
425- flags : unittests # optional
426- - name : prepare codeclimate coverage file
427- run : |
428- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-0.7.0-linux-amd64 > ./cc-test-reporter
429- chmod +x ./cc-test-reporter && ./cc-test-reporter --version
430- ./cc-test-reporter format-coverage -t coverage.py -o codeclimate.${{ github.job }}_coverage.json coverage.xml
431- - name : upload codeclimate coverage
432- uses : actions/upload-artifact@v2
433- with :
434- name : codeclimate-${{ github.job }}-coverage
435- path : codeclimate.${{ github.job }}_coverage.json
436-
437380 unit-test-dask-task-models-library :
438381 timeout-minutes : 14 # if this timeout gets too small, then split the tests
439382 name : " [unit] dask-task-models-library"
@@ -2051,79 +1994,6 @@ jobs:
20511994 name : codeclimate-${{ github.job }}-coverage
20521995 path : codeclimate.${{ github.job }}_coverage.json
20531996
2054- integration-test-sidecar :
2055- timeout-minutes : 30 # if this timeout gets too small, then split the tests
2056- name : " [int] sidecar"
2057- needs : [build-test-images]
2058- runs-on : ${{ matrix.os }}
2059- strategy :
2060- matrix :
2061- python : [3.8]
2062- os : [ubuntu-20.04]
2063- docker_buildx : [v0.5.1]
2064- docker_compose : [1.29.1]
2065- include :
2066- - docker_compose : 1.29.1
2067- docker_compose_sha : 8097769d32e34314125847333593c8edb0dfc4a5b350e4839bef8c2fe8d09de7
2068- fail-fast : false
2069- steps :
2070- - name : set PR default variables
2071- # only pushes have access to the docker credentials, use a default
2072- if : github.event_name == 'pull_request'
2073- run : |
2074- export TMP_DOCKER_REGISTRY=${GITHUB_REPOSITORY%/*}
2075- echo "DOCKER_REGISTRY=${TMP_DOCKER_REGISTRY,,}" >> $GITHUB_ENV
2076- - uses : actions/checkout@v2
2077- - name : setup docker buildx
2078- id : buildx
2079- uses : docker/setup-buildx-action@v1
2080- with :
2081- version : ${{ matrix.docker_buildx }}
2082- driver : docker
2083- - name : setup docker-compose
2084- run : sudo ./ci/github/helpers/setup_docker_compose.bash ${{ matrix.docker_compose }} ${{ matrix.docker_compose_sha }}
2085- - name : setup python environment
2086- uses : actions/setup-python@v2
2087- with :
2088- python-version : ${{ matrix.python }}
2089- - name : show system version
2090- run : ./ci/helpers/show_system_versions.bash
2091- - uses : actions/cache@v2
2092- name : getting cached data
2093- with :
2094- path : ~/.cache/pip
2095- key : ${{ runner.os }}-pip-sidecar-${{ hashFiles('services/sidecar/requirements/ci.txt') }}
2096- restore-keys : |
2097- ${{ runner.os }}-pip-sidecar-
2098- ${{ runner.os }}-pip-
2099- ${{ runner.os }}-
2100- - name : install
2101- run : ./ci/github/integration-testing/sidecar.bash install
2102- - name : test
2103- run : ./ci/github/integration-testing/sidecar.bash test
2104- - name : upload failed tests logs
2105- if : failure()
2106- uses : actions/upload-artifact@v2
2107- with :
2108- name : ${{ github.job }}_docker_logs
2109- path : ./services/sidecar/test_failures
2110- - name : cleanup
2111- if : always()
2112- run : ./ci/github/integration-testing/sidecar.bash clean_up
2113- 2114- with :
2115- flags : integrationtests # optional
2116- - name : prepare codeclimate coverage file
2117- run : |
2118- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-0.7.0-linux-amd64 > ./cc-test-reporter
2119- chmod +x ./cc-test-reporter && ./cc-test-reporter --version
2120- ./cc-test-reporter format-coverage -t coverage.py -o codeclimate.${{ github.job }}_coverage.json coverage.xml
2121- - name : upload codeclimate coverage
2122- uses : actions/upload-artifact@v2
2123- with :
2124- name : codeclimate-${{ github.job }}-coverage
2125- path : codeclimate.${{ github.job }}_coverage.json
2126-
21271997 integration-test-simcore-sdk :
21281998 timeout-minutes : 30 # if this timeout gets too small, then split the tests
21291999 name : " [int] simcore-sdk"
@@ -2458,7 +2328,6 @@ jobs:
24582328 unit-test-datcore-adapter,
24592329 unit-test-director,
24602330 unit-test-director-v2,
2461- unit-test-sidecar,
24622331 unit-test-dynamic-sidecar,
24632332 unit-test-dask-task-models-library,
24642333 unit-test-dask-sidecar,
@@ -2483,7 +2352,6 @@ jobs:
24832352 integration-test-webserver-02,
24842353 integration-test-director-v2-01,
24852354 integration-test-director-v2-02,
2486- integration-test-sidecar,
24872355 integration-test-simcore-sdk,
24882356 ]
24892357 name : coverage
@@ -2518,7 +2386,6 @@ jobs:
25182386 unit-test-datcore-adapter,
25192387 unit-test-director,
25202388 unit-test-director-v2,
2521- unit-test-sidecar,
25222389 unit-test-dynamic-sidecar,
25232390 unit-test-dask-task-models-library,
25242391 unit-test-dask-sidecar,
@@ -2545,7 +2412,6 @@ jobs:
25452412 integration-test-webserver-02,
25462413 integration-test-director-v2-01,
25472414 integration-test-director-v2-02,
2548- integration-test-sidecar,
25492415 integration-test-simcore-sdk,
25502416 system-test-public-api,
25512417 system-test-swarm-deploy,
0 commit comments