File tree Expand file tree Collapse file tree 2 files changed +18
-16
lines changed Expand file tree Collapse file tree 2 files changed +18
-16
lines changed Original file line number Diff line number Diff line change 33name : Status
44on :
55 pull_request :
6- push :
6+ branches :
7+ - master
78 schedule :
8- - cron : ' 0 5 * * 3'
9+ - cron : 0 5 * * 3
910jobs :
1011 tests :
1112 name : Checks
1213 runs-on : ubuntu-latest
1314 env :
1415 PYTHONIOENCODING : utf-8
15- PYTHONPATH : ${{ github.workspace }}/resources/lib:${{ github.workspace }}/tests
16+ PYTHONPATH : ' ${{ github.workspace }}/resources/lib:${{ github.workspace }}/tests'
1617 strategy :
1718 fail-fast : false
1819 steps :
19- - name : Check out ${{ github.sha }} from repository ${{ github.repository }}
20- uses : actions/checkout@v2
21- - name : Set up Python
22- uses : actions/setup-python@v1
23- - name : Install dependencies
24- run : |
25- python -m pip install --upgrade pip
26- pip install -r requirements.txt
27- - name : Check Chrome OS recovery images availability
28- run : python -m tests.checkchromeos
29- if : always()
20+ - name : ' Check out ${{ github.sha }} from repository ${{ github.repository }}'
21+ uses : actions/checkout@v5
22+ - name : Set up Python
23+ uses : actions/setup-python@v6
24+ - name : Install dependencies
25+ run : |
26+ python -m pip install --upgrade pip
27+ pip install -r requirements.txt
28+ - name : Check Chrome OS recovery images availability
29+ run : python -m tests.checkchromeos
30+ if : always()
31+
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ def __init__(self, message):
1616
1717def get_devices ():
1818 """Get Chrome OS devices as json object"""
19- url = 'https://www.chromium.org/chromium-os/developer-information-for-chrome-os-devices'
19+ url = 'https://www.chromium.org/chromium-os/developer-library/reference/development/developer- information-for-chrome-os-devices/ '
2020 response = requests .get (url , timeout = 10 )
2121 response .raise_for_status ()
22- html = response .text .split ('<table>' )[3 ].split ('</table>' )[0 ]
22+ html = response .text .split ('<table>' )[- 1 ].split ('</table>' )[0 ]
2323 html = '<table>' + html + '</table>'
2424 html = html .replace ('&' , '&' )
2525 html = html .replace ('<white label>' , 'white label' )
You can’t perform that action at this time.
0 commit comments