File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,13 @@ jobs:
1212 - uses : actions/setup-python@v2
1313 - name : Install prerequisites
1414 run : |
15+ sudo apt-get update -qq
1516 xargs -a ubuntu-packages.txt sudo apt install -qq
1617 python -m pip install --quiet --upgrade pip
1718 pip install --quiet -r requirements.txt
1819 - name : Builds and checks
1920 run : |
20- pre-commit run --all
21+ ONEAPI_DRAFT=true pre-commit run --all
2122 mkdir -p build/reuse
2223 # ignore fail for reuse
2324 reuse lint > build/reuse/lint.txt || true
Original file line number Diff line number Diff line change 55import json
66import string
77import sys
8+ from os import environ
89from os .path import abspath , join
910
1011import docutils
@@ -179,7 +180,7 @@ class BCLLexer(RegexLexer):
179180
180181# -- Watermark
181182
182- sphinxmark_enable = True
183+ sphinxmark_enable = 'ONEAPI_DRAFT' in environ
183184sphinxmark_div = 'row#main-content'
184185
185186
You can’t perform that action at this time.
0 commit comments