-
Notifications
You must be signed in to change notification settings - Fork 12
50 lines (42 loc) · 1.6 KB
/
test-testing-fieldtrials-gen.yml
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
name: Test Perf Field Trials Generator
on:
pull_request:
paths:
- 'seed/**'
- 'studies/**'
- 'src/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: '0'
- name: Setup Python
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
with:
python-version: '3.11'
- name: Install requirements
run: pip install -r seed/requirements.txt
- name: Generate testing_fieldtrials.json (HEAD)
run: python3 seed/fieldtrials_testing_config_generator.py
--use-current-branch
--target-version 128.1.70.65
--target-channel NIGHTLY
--output fieldtrial_testing_config.json
--output-revision brave-variations-revision.txt
- name: Generate testing_fieldtrials.json (legacy seed.json)
run: python3 seed/fieldtrials_testing_config_generator.py
--target-date "2024-08-12 00:02:25 +0000"
--target-version 128.1.70.65
--target-channel NIGHTLY
--output fieldtrial_testing_config.json
--output-revision brave-variations-revision.txt
- name: Generate testing_fieldtrials.json (production-archive)
run: python3 seed/fieldtrials_testing_config_generator.py
--target-date "2024-07-18 00:02:08 +0000"
--target-version 127.1.70.1
--target-channel NIGHTLY
--output fieldtrial_testing_config.json
--output-revision brave-variations-revision.txt