Skip to content

Commit

Permalink
Merge branch 'awesomeWM:master' into patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
elig0n authored Oct 27, 2024
2 parents d51e9bd + 2b7006f commit 896837e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 22 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,6 @@ jobs:
if: matrix.coverage
run: sudo -H luarocks install cluacov

- name: Install codecov.io uploader
if: matrix.coverage == 'codecov'
run: wget -O /tmp/codecov-bash https://codecov.io/bash

# Check out repository to ${{ github.workspace }}
# Automatically picks the current branch/PR
- uses: actions/checkout@v2
Expand Down Expand Up @@ -308,7 +304,7 @@ jobs:
run: cd "${{ github.workspace }}/build" && make check-unit

- name: Run examples tests
run: cd "${{ github.workspace }}/build" && make check-examples
run: cd "${{ github.workspace }}/build" && make check-examples -j24

- name: Run requires tests
if: matrix.coverage
Expand All @@ -322,15 +318,7 @@ jobs:
run: |
luacov
- name: Upload Lua code coverage report
if: matrix.coverage == 'codecov'
uses: codecov/codecov-action@v3
with:
files: "${{ github.workspace }}/build/luacov.report.out"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Upload C code coverage report
- name: Generate C coverage report
if: matrix.coverage == 'codecov'
run: |
# Report coverage for each .gcno file separately.
Expand All @@ -349,9 +337,22 @@ jobs:
# with Code Climate.
find "gcov.$i" -maxdepth 1 -type f -name '#usr#*.gcov' -delete
done
# Upload to Codecov.
bash /tmp/codecov-bash -X gcov -X coveragepy -F gcov
- name: Upload Lua code coverage report
if: matrix.coverage == 'codecov'
uses: codecov/codecov-action@v3
with:
files: "${{ github.workspace }}/build/luacov.report.out"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Upload C code coverage report
if: matrix.coverage == 'codecov'
uses: codecov/codecov-action@v3
with:
files: "${{ github.workspace }}/build/*/*.gcov"
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

# `check-qa` is the only test that doesn't get a coverage report, so it has to run after all of that.
- name: Run qa tests
Expand Down
4 changes: 2 additions & 2 deletions lib/awful/widget/taglist.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---------------------------------------------------------------------------
--- Taglist widget module for awful.
--
-- Here is a more advanced example of how to extent the `taglist`. It provides:
-- Here is a more advanced example of how to extend the `taglist`. It provides:
--
-- * mouse "hover" color
-- * an extra index field
Expand Down Expand Up @@ -431,7 +431,7 @@ end

--- The current number of tags.
--
-- Note that the `tasklist` is usually lazy-loaded. Reading this property
-- Note that the `taglist` is usually lazy-loaded. Reading this property
-- may cause the widgets to be created. Depending on where the property is called
-- from, it might, in theory, cause an infinite loop.
--
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/screen/struts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local awful = { --DOC_HIDE
-- Wibars and docked clients are the main users of the struts.
local wibar = awful.wibar {
position = "top",
height = 24, -- this will set the wibar won :struts() to top=24
height = 24, -- this will set the wibar own :struts() to top=24
}

awful.tag.add("1", { --DOC_HIDE
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/wibox/nwidget/rules/urgency.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ local notif = --DOC_HIDE

--DOC_NEWLINE

-- Create a normal notification.
-- Create a critical notification.
local notif2 = --DOC_HIDE
naughty.notification {
title = "A notification 2",
Expand Down
2 changes: 1 addition & 1 deletion tests/examples/wibox/nwidget/rules/widget_template.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ local notif2 = --DOC_HIDE
naughty.notification { --DOC_HIDE
title = "Daft Punk", --DOC_HIDE
message = "Harder, Better, Faster, Stronger", --DOC_HIDE
icon = beautiful.awesome_icon,
icon = beautiful.awesome_icon, --DOC_HIDE
icon_size = 128, --DOC_HIDE
app_name = "mdp", --DOC_HIDE
} --DOC_HIDE
Expand Down

0 comments on commit 896837e

Please sign in to comment.