Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions .github/workflows/fhem_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,9 @@ permissions:
contents: read

on:
# Kein paths-Filter bei pull_request: Required Status Checks müssen auf jedem PR
# gemeldet werden, sonst bleiben reine Renovate-/Doku-PRs auf BLOCKED stehen.
pull_request:
paths:
- 'FHEM/**'
- 'lib/**'
- 'CHANGED'
- 'controls_WebAuth.txt'
- 'README.md'
- '.devcontainer/svn-manifest.txt'
- 't/**'
- 'cpanfile'
- 'scripts/**'
- '.github/workflows/fhem_test.yml'
push:
paths:
- 'FHEM/**'
Expand Down Expand Up @@ -52,7 +43,7 @@ jobs:
- name: Install CPAN dependencies
run: cpanm --installdeps . --notest
- name: Install FHEM via debian nightly
uses: fhem/setup-fhem@v1.0.1
uses: fhem/setup-fhem@v1.0.2
- name: Change ownership of /opt/fhem
run: sudo chown -R --reference=cpanfile /opt/fhem
- name: Run helper module tests
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/perlCritic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@ concurrency:
cancel-in-progress: true

on:
# Kein paths-Filter: Der Check "perlcritic" ist Required und muss auf jedem PR gemeldet werden.
pull_request:
types: [opened, synchronize, reopened]
paths:
- 'FHEM/**'
- 'lib/**'
- '.perlcritic'
- '.github/workflows/perlCritic.yml'
workflow_dispatch:

jobs:
Expand All @@ -24,7 +20,9 @@ jobs:
with:
perl-version: '5.38'
install-modules-with: cpanm
install-modules: Perl::Critic Task::PerlCriticAllPolicies
# Perl::Critic zuerst in aktueller Version, dann Grape: Die Abhängigkeiten der Task
# verlangen sonst eine neuere Perl::Critic-Version, als cpanm vorab installiert hat.
install-modules: Perl::Critic Perl::Critic::Grape Task::PerlCriticAllPolicies
install-modules-args: --notest
- uses: reviewdog/action-setup@v1
with:
Expand Down
Loading