Skip to content

Commit

Permalink
Deducing "warnings_as_errors" from Emacs version.
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosemer committed Dec 12, 2023
1 parent ea9f131 commit feccc74
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
include:
# Emacs 27.x spits out errors during package-lint. Ignore those
# warnings.
- emacs_version: 27.1
warnings_as_errors: false
- emacs_version: 27.2
warnings_as_errors: false
# All other Emacs versions should have no warnings.
- emacs_version: 28.1
warnings_as_errors: true
- emacs_version: 28.2
warnings_as_errors: true
- emacs_version: 29.1
warnings_as_errors: true
emacs_version: [27.1, 27.2, 28.1, 28.2, 29.1]
steps:
- uses: purcell/[email protected]
with:
Expand All @@ -37,4 +24,6 @@ jobs:
with:
check: melpa
file: '*.el'
warnings_as_errors: ${{ matrix.warnings_as_errors }}
# Emacs 27.x spits out errors during package-lint. Ignore those
# warnings.
warnings_as_errors: ${{ matrix.emacs_version < 28 }}

0 comments on commit feccc74

Please sign in to comment.