|
50 | 50 | runs-on: ubuntu-latest |
51 | 51 | # Set job outputs to values from filter step |
52 | 52 | outputs: |
| 53 | + aws-library: ${{ steps.filter.outputs.aws-library }} |
53 | 54 | dask-task-models-library: ${{ steps.filter.outputs.dask-task-models-library }} |
54 | 55 | models-library: ${{ steps.filter.outputs.models-library }} |
55 | 56 | postgres-database: ${{ steps.filter.outputs.postgres-database }} |
|
87 | 88 | id: filter |
88 | 89 | with: |
89 | 90 | filters: | |
| 91 | + aws-library: |
| 92 | + - 'packages/aws-library/**' |
| 93 | + - 'packages/pytest-simcore/**' |
| 94 | + - 'services/docker-compose*' |
| 95 | + - 'scripts/mypy/*' |
| 96 | + - 'mypy.ini' |
90 | 97 | dask-task-models-library: |
91 | 98 | - 'packages/dask-task-models-library/**' |
92 | 99 | - 'packages/pytest-simcore/**' |
@@ -804,6 +811,45 @@ jobs: |
804 | 811 | with: |
805 | 812 | flags: unittests #optional |
806 | 813 |
|
| 814 | + unit-test-aws-library: |
| 815 | + needs: changes |
| 816 | + if: ${{ needs.changes.outputs.aws-library == 'true' || github.event_name == 'push' }} |
| 817 | + timeout-minutes: 18 # if this timeout gets too small, then split the tests |
| 818 | + name: "[unit] aws-library" |
| 819 | + runs-on: ${{ matrix.os }} |
| 820 | + strategy: |
| 821 | + matrix: |
| 822 | + python: ["3.10"] |
| 823 | + os: [ubuntu-22.04] |
| 824 | + docker_buildx: [v0.10.4] |
| 825 | + fail-fast: false |
| 826 | + steps: |
| 827 | + - uses: actions/checkout@v4 |
| 828 | + - name: setup docker buildx |
| 829 | + id: buildx |
| 830 | + uses: docker/setup-buildx-action@v3 |
| 831 | + with: |
| 832 | + version: ${{ matrix.docker_buildx }} |
| 833 | + driver: docker-container |
| 834 | + - name: setup python environment |
| 835 | + uses: actions/setup-python@v4 |
| 836 | + with: |
| 837 | + python-version: ${{ matrix.python }} |
| 838 | + cache: "pip" |
| 839 | + cache-dependency-path: "packages/aws-library/requirements/ci.txt" |
| 840 | + - name: show system version |
| 841 | + run: ./ci/helpers/show_system_versions.bash |
| 842 | + - name: install |
| 843 | + run: ./ci/github/unit-testing/aws-library.bash install |
| 844 | + - name: typecheck |
| 845 | + run: ./ci/github/unit-testing/aws-library.bash typecheck |
| 846 | + - name: test |
| 847 | + if: always() |
| 848 | + run: ./ci/github/unit-testing/aws-library.bash test |
| 849 | + |
| 850 | + with: |
| 851 | + flags: unittests #optional |
| 852 | + |
807 | 853 | unit-test-dask-task-models-library: |
808 | 854 | needs: changes |
809 | 855 | if: ${{ needs.changes.outputs.dask-task-models-library == 'true' || github.event_name == 'push' }} |
@@ -1447,6 +1493,7 @@ jobs: |
1447 | 1493 | unit-test-catalog, |
1448 | 1494 | unit-test-clusters-keeper, |
1449 | 1495 | unit-test-dask-sidecar, |
| 1496 | + unit-test-aws-library, |
1450 | 1497 | unit-test-dask-task-models-library, |
1451 | 1498 | unit-test-datcore-adapter, |
1452 | 1499 | unit-test-director-v2, |
|
0 commit comments