File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - master
5+ pull_request :
6+
7+ name : Lint
8+ jobs :
9+ chore :
10+ name : Lint and check format
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+
16+ - uses : actions/setup-python@v2
17+ with :
18+ python-version : " 3.x"
19+
20+ - name : Setup virtualenv
21+ run : |
22+ pip install -U pip
23+ python3 -m venv .venv
24+
25+ - name : Print environment
26+ run : |
27+ source .venv/bin/activate
28+ python --version
29+ pip --version
30+
31+ - name : Install all dependencies
32+ run : |
33+ source .venv/bin/activate
34+ pip install -r requirements.txt
35+ pip install -r requirements_dev.txt
36+ pip install pre-commit
37+
38+ - name : Lint
39+ run : |
40+ source .venv/bin/activate
41+ pre-commit run --all-files --show-diff-on-failure
Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - master
5+ pull_request :
6+
7+ name : Test
8+ jobs :
9+ chore :
10+ name : Run unit tests
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v2
15+
16+ - uses : actions/setup-python@v2
17+ with :
18+ python-version : " 3.x"
19+
20+ - name : Setup virtualenv
21+ run : |
22+ pip install -U pip
23+ python3 -m venv .venv
24+
25+ - name : Print environment
26+ run : |
27+ source .venv/bin/activate
28+ python --version
29+ pip --version
30+
31+ - name : Install all dependencies
32+ run : |
33+ source .venv/bin/activate
34+ pip install -r requirements.txt
35+ pip install -r requirements_dev.txt
36+
37+ - name : Test
38+ run : |
39+ source .venv/bin/activate
40+ py.test
Original file line number Diff line number Diff line change 6565STAGE_CERT_CHAIN = open (STAGE_CERT_PATH , "rb" ).read ()
6666STAGE_CERT_LIST = autograph_utils .split_pem (STAGE_CERT_CHAIN )
6767STAGE_ROOT_HASH = decode_mozilla_hash (
68- "3C:01:44:6A:BE:90:36:CE:A9:A0:9A:CA:A3:A5:20:AC :"
69- + "62:8F:20:A7:AE:32:CE:86:1C:B2:EF:B7:0F:A0:C7:45 "
68+ "DB:74:CE:58:E4:F9:D0:9E:E0:42:36:BE:6C:C5:C4:F6 :"
69+ + "6A:E7:74:7D:C0:21:42:7A:03:BC:2F:57:0C:8B:9B:90 "
7070)
7171
7272
You can’t perform that action at this time.
0 commit comments