diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index eac766b..0d2f1bb 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -98,7 +98,7 @@ jobs: repository = os.environ['GITHUB_REPOSITORY'] page = open('docs.html', encoding='utf-8').read() blocks = [(language, html.unescape(re.sub(r'<[^>]+>', '', code)).strip()) - for language, code in re.findall(r"
(.*?)
", page, re.S)] + for language, code in re.findall(r"
]*>(.*?)
", page, re.S)] ROLES = ['Node.js install', 'Node.js environment variables', 'Node.js logging', 'Python install', 'Python setup', 'Python logging'] LANGUAGES = ['bash', 'text', 'js', 'bash', 'python', 'python'] if [language for language, _ in blocks] != LANGUAGES: