[CI] Run `Run examples tests` on every supported Lua Version (#3575)
* ci(main) always run `Run examples tests` * fix(font1) print with string.format
This commit is contained in:
parent
22dedf77dc
commit
392dbc21ab
|
@ -305,7 +305,6 @@ jobs:
|
|||
run: cd "${{ github.workspace }}/build" && make check-unit
|
||||
|
||||
- name: Run examples tests
|
||||
if: matrix.coverage
|
||||
run: cd "${{ github.workspace }}/build" && make check-examples
|
||||
|
||||
- name: Run requires tests
|
||||
|
|
|
@ -28,7 +28,16 @@ local ret = wibox.layout.fixed.vertical()
|
|||
--DOC_NEWLINE
|
||||
-- Use the low level Pango API to validate the font was parsed properly.
|
||||
local desc = pango.FontDescription.from_string(w.font)
|
||||
print(w.font, desc:get_size(), desc:get_family(), desc:get_variant(), desc:get_style())
|
||||
print(
|
||||
string.format(
|
||||
"%s %d %s %s %s",
|
||||
w.font,
|
||||
desc:get_size(),
|
||||
desc:get_family(),
|
||||
desc:get_variant(),
|
||||
desc:get_style()
|
||||
)
|
||||
)
|
||||
|
||||
--DOC_HIDE_START
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
sans 0.0 sans NORMAL NORMAL
|
||||
Roboto, Bold 0.0 Roboto NORMAL NORMAL
|
||||
DejaVu Sans, Oblique 0.0 DejaVu Sans NORMAL OBLIQUE
|
||||
Noto Mono, Regular 0.0 Noto Mono NORMAL NORMAL
|
||||
sans 0 sans NORMAL NORMAL
|
||||
Roboto, Bold 0 Roboto NORMAL NORMAL
|
||||
DejaVu Sans, Oblique 0 DejaVu Sans NORMAL OBLIQUE
|
||||
Noto Mono, Regular 0 Noto Mono NORMAL NORMAL
|
||||
|
|
Loading…
Reference in New Issue