Skip to content

Commit 66eda27

Browse files
use windows-2022 instead of deprecated windows-2019
1 parent 6feb9e0 commit 66eda27

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/continous-integration.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,12 @@ jobs:
247247
- test-full-model-training
248248
- test-other-unit-tests
249249
- test-performance
250-
os: [ubuntu-24.04, windows-2019]
250+
os: [ubuntu-24.04, windows-2022]
251251
python-version: [3.8, 3.9, "3.10"]
252252

253253
steps:
254254
- name: Run DataDog Agent
255-
if: needs.changes.outputs.backend == 'true' && (matrix.os != 'windows-2019' || contains(github.event.pull_request.labels.*.name, 'tools:datadog-windows'))
255+
if: needs.changes.outputs.backend == 'true' && (matrix.os != 'windows-2022' || contains(github.event.pull_request.labels.*.name, 'tools:datadog-windows'))
256256
run: |
257257
docker run --name dd_agent -p 8126:8126 -d -e "DD_API_KEY=${{ secrets.DD_API_KEY }}" -e "DD_INSIDE_CI=true" -e "DD_HOSTNAME=none" -e "DD_SITE=datadoghq.eu" -e GITHUB_ACTIONS=true -e CI=true datadog/agent:latest
258258
docker ps --all --filter name=dd_agent --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
@@ -284,7 +284,7 @@ jobs:
284284
installer-parallel: true
285285

286286
- name: Install poetry (Windows) 🦄
287-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
287+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
288288
uses: Gr1N/setup-poetry@48b0f77c8c1b1b19cb962f0f00dff7b4be8f81ec #v9
289289
with:
290290
poetry-version: ${{ env.POETRY_VERSION }}
@@ -335,7 +335,7 @@ jobs:
335335
make prepare-tests-ubuntu
336336
337337
- name: Install Dependencies (Windows) 📦
338-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
338+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
339339
# Restoring cache doesn't work properly on Windows due to symlinks.
340340
# We create symlinks for spacy models, that's why we need to clean them up
341341
# before caching the dependencies directory.
@@ -361,7 +361,7 @@ jobs:
361361
run: pip install pytest-github-actions-annotate-failures
362362

363363
- name: Disable "LongPathsEnabled" option on Windows
364-
if: matrix.os == 'windows-2019'
364+
if: matrix.os == 'windows-2022'
365365
# On Windows laptops, a default preset prevents path names from being longer than
366366
# 260 characters. Some of our users can't enable this setting due to company policies.
367367
# We implemented a fix for model storage. The Windows container in GitHub
@@ -376,7 +376,7 @@ jobs:
376376
run: poetry run pip install -U 'ddtrace<2.0.0'
377377

378378
- name: Install ddtrace on Windows
379-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
379+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
380380
run: |
381381
.\.venv\Scripts\activate
382382
py -m pip install -U 'ddtrace<2.0.0'
@@ -416,12 +416,12 @@ jobs:
416416
strategy:
417417
fail-fast: false
418418
matrix:
419-
os: [ubuntu-24.04, windows-2019]
419+
os: [ubuntu-24.04, windows-2022]
420420
python-version: [3.8, 3.9, "3.10"]
421421

422422
steps:
423423
- name: Run DataDog Agent
424-
if: needs.changes.outputs.backend == 'true' && (matrix.os != 'windows-2019' || contains(github.event.pull_request.labels.*.name, 'tools:datadog-windows'))
424+
if: needs.changes.outputs.backend == 'true' && (matrix.os != 'windows-2022' || contains(github.event.pull_request.labels.*.name, 'tools:datadog-windows'))
425425
run: |
426426
docker run --name dd_agent -p 8126:8126 -d -e "DD_API_KEY=${{ secrets.DD_API_KEY }}" -e "DD_INSIDE_CI=true" -e "DD_HOSTNAME=none" -e "DD_SITE=datadoghq.eu" -e GITHUB_ACTIONS=true -e CI=true datadog/agent:latest
427427
docker ps --all --filter name=dd_agent --filter status=running --no-trunc --format "{{.ID}} {{.Status}}"
@@ -453,7 +453,7 @@ jobs:
453453
installer-parallel: true
454454

455455
- name: Install poetry (Windows) 🦄
456-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
456+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
457457
uses: Gr1N/setup-poetry@48b0f77c8c1b1b19cb962f0f00dff7b4be8f81ec #v9
458458
with:
459459
poetry-version: ${{ env.POETRY_VERSION }}
@@ -495,7 +495,7 @@ jobs:
495495
make prepare-tests-ubuntu
496496
497497
- name: Install Dependencies (Windows) 📦
498-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
498+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
499499
# Restoring cache doesn't work properly on Windows due to symlinks.
500500
# We create symlinks for spacy models, that's why we need to clean them up
501501
# before caching the dependencies' directory.
@@ -519,7 +519,7 @@ jobs:
519519
run: pip install pytest-github-actions-annotate-failures
520520

521521
- name: Disable "LongPathsEnabled" option on Windows
522-
if: matrix.os == 'windows-2019'
522+
if: matrix.os == 'windows-2022'
523523
# On Windows laptops, a default preset prevents path names from being longer than
524524
# 260 characters. Some of our users can't enable this setting due to company policies.
525525
# We implemented a fix for model storage. The Windows container in GitHub
@@ -534,7 +534,7 @@ jobs:
534534
run: poetry run pip install -U 'ddtrace<2.0.0'
535535

536536
- name: Install ddtrace on Windows
537-
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2019'
537+
if: needs.changes.outputs.backend == 'true' && matrix.os == 'windows-2022'
538538
run: |
539539
.\.venv\Scripts\activate
540540
py -m pip install -U 'ddtrace<2.0.0'

0 commit comments

Comments
 (0)