Skip to content

Commit c51ed53

Browse files
authored
🔀 Merge pull request #469 from Schneegans/feature/more-tests
2 parents 75a3641 + b2a1c40 commit c51ed53

260 files changed

Lines changed: 19 additions & 28 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/checks.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,11 @@ jobs:
9191
matrix:
9292
version:
9393
- "39"
94+
- "40"
95+
- "41"
96+
- "rawhide"
9497
session:
9598
- "gnome-xsession"
96-
- "gnome-wayland-nested"
9799
steps:
98100
- uses: actions/checkout@v4
99101
- name: Download Dependencies
@@ -104,7 +106,7 @@ jobs:
104106
run: make
105107
- name: Test Burn-My-Windows
106108
run: sudo $GITHUB_WORKSPACE/tests/run-test.sh -v ${{ matrix.version }} -s ${{ matrix.session }}
107-
- uses: actions/upload-artifact@v3
109+
- uses: actions/upload-artifact@v4
108110
if: failure()
109111
with:
110112
name: result_${{ matrix.version }}_${{ matrix.session }}

.github/workflows/references.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ jobs:
1010
references:
1111
name: Generate References
1212
runs-on: ubuntu-22.04
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
version:
17+
- "39"
18+
- "40"
19+
- "41"
20+
- "rawhide"
21+
session:
22+
- "gnome-xsession"
1323
steps:
1424
- uses: actions/checkout@v4
1525
- name: Download Dependencies
@@ -19,8 +29,8 @@ jobs:
1929
- name: Build Burn-My-Windows
2030
run: make
2131
- name: Generate References
22-
run: sudo make references
23-
- uses: actions/upload-artifact@v3
32+
run: sudo $GITHUB_WORKSPACE/tests/generate-references.sh -v ${{ matrix.version }} -s ${{ matrix.session }}
33+
- uses: actions/upload-artifact@v4
2434
with:
25-
name: references
26-
path: tests/references/
35+
name: references-${{ matrix.session }}-${{ matrix.version }}
36+
path: tests/references/*${{ matrix.session }}-${{ matrix.version }}.png

Makefile

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,6 @@ pot: $(JS_FILES) $(UI_FILES)
4646
--output=po/$(NAME).pot \
4747
$(JS_FILES) $(UI_FILES)
4848

49-
# This runs several tests in containerized versions of GNOME Shell.
50-
test:
51-
@ for version in 39 "rawhide" ; do \
52-
for session in "gnome-xsession" "gnome-wayland-nested" ; do \
53-
echo ; \
54-
echo "Running Tests on Fedora $$version ($$session)." ; \
55-
echo ; \
56-
./tests/run-test.sh -s $$session -v $$version ; \
57-
done \
58-
done
59-
60-
# This re-generates all reference images required by the tests.
61-
references:
62-
@ for version in 39 "rawhide" ; do \
63-
for session in "gnome-xsession" "gnome-wayland-nested" ; do \
64-
echo ; \
65-
echo "Generating References for Fedora $$version ($$session)." ; \
66-
echo ; \
67-
./tests/generate-references.sh -s $$session -v $$version ; \
68-
done \
69-
done
70-
7149
# This removes all temporary files created with the other recipes.
7250
clean:
7351
rm -rf $(ZIP_NAME) \

docs/changelog.md

Lines changed: 1 addition & 0 deletions
-355 Bytes
Binary file not shown.
-355 Bytes
Binary file not shown.
0 Bytes
355 Bytes
355 Bytes
0 Bytes

0 commit comments

Comments
 (0)