forked from DataDog/integrations-core
-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (48 loc) · 1.45 KB
/
flaky-tests-windows.yml
File metadata and controls
59 lines (48 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Daily Flaky Tests (every 8 hours) - Windows
# This is a temporary fix to avoid hitting the max 256 jobs per workflow limit
# We will remove this once we have a better solution
on:
workflow_dispatch:
schedule:
# 4 AM, 12 PM, 8 PM UTC
- cron: "0 4,12,20 * * *"
jobs:
cache:
uses: ./.github/workflows/cache-shared-deps.yml
test:
needs:
- cache
uses: ./.github/workflows/test-all-windows.yml
with:
repo: core
# Options
# Because -m starts with a dash,
# click (the library used to build the CLI) will
# interpret it as an option, not as an argument.
# To avoid this, using -- syntax,
# which tells the command that everything following it
# should be treated as positional arguments, not options
pytest-args: '-m flaky'
context: "flaky-tests"
secrets: inherit
permissions:
# needed for compute-matrix in test-target.yml
contents: read
publish-test-results:
needs:
- test
if: success() || failure()
concurrency:
group: test-results
permissions:
checks: write # Needed for test-results-master
contents: write # Needed for test-results-master
pull-requests: write # Needed for test-results-master
uses: ./.github/workflows/test-results-master.yml
secrets: inherit
submit-traces:
needs:
- test
if: success() || failure()
uses: ./.github/workflows/submit-traces.yml
secrets: inherit