3737 - all
3838
3939env :
40- DEFAULT_MAX_NANO_CPUS : 10000000
41- DEFAULT_MAX_MEMORY : 268435456
40+ # NOTE: 'COLUMNS' is a shell env var that represents the width (number of columns)
41+ # of the terminal or command-line interface in characters.
4242 COLUMNS : 120
4343
4444concurrency :
@@ -189,6 +189,8 @@ jobs:
189189 - 'packages/**'
190190 - 'services/director/**'
191191 - 'services/docker-compose*'
192+ - 'scripts/mypy/*'
193+ - 'mypy.ini'
192194 director-v2:
193195 - 'packages/**'
194196 - 'services/director-v2/**'
@@ -912,11 +914,8 @@ jobs:
912914 runs-on : ${{ matrix.os }}
913915 strategy :
914916 matrix :
915- # KEEP 3.6 Development of this service is frozen
916- # KEEP ubuntu 20.04, else no python 3.6
917- python : [3.6]
918- os : [ubuntu-20.04]
919- docker_buildx : [v0.10.4]
917+ python : ["3.11"]
918+ os : [ubuntu-22.04]
920919 fail-fast : false
921920 steps :
922921 - uses : actions/checkout@v4
@@ -929,12 +928,27 @@ jobs:
929928 uses : actions/setup-python@v5
930929 with :
931930 python-version : ${{ matrix.python }}
931+ - name : install uv
932+ uses : astral-sh/setup-uv@v3
933+ with :
934+ version : " 0.4.x"
935+ enable-cache : false
936+ cache-dependency-glob : " **/director/requirements/ci.txt"
932937 - name : show system version
933938 run : ./ci/helpers/show_system_versions.bash
934939 - name : install
935940 run : ./ci/github/unit-testing/director.bash install
941+ - name : typecheck
942+ run : ./ci/github/unit-testing/director.bash typecheck
936943 - name : test
944+ if : ${{ !cancelled() }}
937945 run : ./ci/github/unit-testing/director.bash test
946+ - name : upload failed tests logs
947+ if : ${{ !cancelled() }}
948+ uses : actions/upload-artifact@v4
949+ with :
950+ name : ${{ github.job }}_docker_logs
951+ path : ./services/director/test_failures
938952939953 env :
940954 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
@@ -2132,6 +2146,11 @@ jobs:
21322146 python : ["3.11"]
21332147 os : [ubuntu-22.04]
21342148 fail-fast : false
2149+ env :
2150+ # NOTE: DIRECTOR_DEFAULT_MAX_* used for integration-tests that include `director` service
2151+ DIRECTOR_DEFAULT_MAX_MEMORY : 268435456
2152+ DIRECTOR_DEFAULT_MAX_NANO_CPUS : 10000000
2153+ DIRECTOR_TRACING : null
21352154 steps :
21362155 - uses : actions/checkout@v4
21372156 - name : setup docker buildx
0 commit comments