🔧 Only run tests on rawhide
This commit is contained in:
@@ -6,10 +6,10 @@ name: Checks
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- "**"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- "**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
clang_format:
|
clang_format:
|
||||||
@@ -33,9 +33,9 @@ jobs:
|
|||||||
name: Check Compliance with REUSE Specification
|
name: Check Compliance with REUSE Specification
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: REUSE Compliance Check
|
- name: REUSE Compliance Check
|
||||||
uses: fsfe/reuse-action@v1
|
uses: fsfe/reuse-action@v1
|
||||||
|
|
||||||
comment_percentage:
|
comment_percentage:
|
||||||
name: Check Comment Percentage
|
name: Check Comment Percentage
|
||||||
@@ -85,19 +85,19 @@ jobs:
|
|||||||
if: >
|
if: >
|
||||||
github.event_name == 'push' && contains(github.event.head_commit.message, '[generate-references]')
|
github.event_name == 'push' && contains(github.event.head_commit.message, '[generate-references]')
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Download Dependencies
|
- name: Download Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt update -qq
|
sudo apt update -qq
|
||||||
sudo apt install gettext imagemagick -qq
|
sudo apt install gettext imagemagick -qq
|
||||||
- name: Build Burn-My-Windows
|
- name: Build Burn-My-Windows
|
||||||
run: make
|
run: make
|
||||||
- name: Generate References
|
- name: Generate References
|
||||||
run: sudo make references
|
run: sudo make references
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: references
|
name: references
|
||||||
path: tests/references/
|
path: tests/references/
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Run Tests
|
name: Run Tests
|
||||||
@@ -110,29 +110,22 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
version:
|
version:
|
||||||
- '32'
|
- "rawhide"
|
||||||
- '33'
|
|
||||||
- '34'
|
|
||||||
- '35'
|
|
||||||
- '36'
|
|
||||||
- '37'
|
|
||||||
- '38'
|
|
||||||
- 'rawhide'
|
|
||||||
session:
|
session:
|
||||||
- 'gnome-xsession'
|
- "gnome-xsession"
|
||||||
- 'gnome-wayland-nested'
|
- "gnome-wayland-nested"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Download Dependencies
|
- name: Download Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt update -qq
|
sudo apt update -qq
|
||||||
sudo apt install gettext imagemagick -qq
|
sudo apt install gettext imagemagick -qq
|
||||||
- name: Build Burn-My-Windows
|
- name: Build Burn-My-Windows
|
||||||
run: make
|
run: make
|
||||||
- name: Test Burn-My-Windows
|
- name: Test Burn-My-Windows
|
||||||
run: sudo $GITHUB_WORKSPACE/tests/run-test.sh -v ${{ matrix.version }} -s ${{ matrix.session }}
|
run: sudo $GITHUB_WORKSPACE/tests/run-test.sh -v ${{ matrix.version }} -s ${{ matrix.session }}
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: result_${{ matrix.version }}_${{ matrix.session }}
|
name: result_${{ matrix.version }}_${{ matrix.session }}
|
||||||
path: tests/output/
|
path: tests/output/
|
||||||
|
|||||||
Reference in New Issue
Block a user