Skip to content

Commit ae32be0

Browse files
fix(ci): update django framework test image [backport 1.15] (#6222)
Backport 7701588 from #6220 to 1.15. Merge checks are failing because of system dependency that is failing to install. This change updates the apt cache before installing with necessary options to avoid tty input. ## Checklist - [X] Change(s) are motivated and described in the PR description. - [X] Testing strategy is described if automated tests are not included in the PR. - [X] Risk is outlined (performance impact, potential for breakage, maintainability, etc). - [X] Change is maintainable (easy to change, telemetry, documentation). - [X] [Library release note guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html) are followed. If no release note is required, add label `changelog/no-changelog`. - [X] Documentation is included (in-code, generated user docs, [public corp docs](https://github.com/DataDog/documentation/)). - [X] Backport labels are set (if [applicable](../docs/contributing.rst#release-branch-maintenance)) ## Reviewer Checklist - [x] Title is accurate. - [x] No unnecessary changes are introduced. - [x] Description motivates each change. - [x] Avoids breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes unless absolutely necessary. - [x] Testing strategy adequately addresses listed risk(s). - [x] Change is maintainable (easy to change, telemetry, documentation). - [x] Release note makes sense to a user of the library. - [x] Reviewer has explicitly acknowledged and discussed the performance implications of this PR as reported in the benchmarks PR comment. - [x] Backport labels are set in a manner that is consistent with the [release branch maintenance policy](../docs/contributing.rst#release-branch-maintenance) Co-authored-by: Tahir H. Butt <[email protected]>
1 parent d2083ed commit ae32be0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/test_frameworks.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- suffix: DI coverage
9090
expl_profiler: 0
9191
expl_coverage: 1
92-
runs-on: ubuntu-20.04
92+
runs-on: ubuntu-latest
9393
name: Django 3.1 (with ${{ matrix.suffix }})
9494
env:
9595
DD_PROFILING_ENABLED: true
@@ -118,7 +118,9 @@ jobs:
118118
python-version: "3.8"
119119
- name: Install pylibmc libmemcached package
120120
# Django-specific: pylibmc in Ubuntu requires libmemcached package
121-
run: sudo apt install libmemcached-dev zlib1g
121+
run: |
122+
sudo apt update -qq
123+
sudo apt install --no-install-recommends -qqyf libmemcached-dev zlib1g
122124
- name: Install dependencies
123125
# Django-specific: separate dependencies for tests
124126
run: pip install -r tests/requirements/py3.txt

0 commit comments

Comments
 (0)