1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

ci: trigger packaging tests on pull requests

This commit is contained in:
Frédéric Guillot 2025-02-17 20:45:22 -08:00
parent 462ba8d7f7
commit 1cffb70362
2 changed files with 12 additions and 4 deletions

View file

@ -7,9 +7,13 @@ on:
- '[0-9]+.[0-9]+.[0-9]+' - '[0-9]+.[0-9]+.[0-9]+'
schedule: schedule:
- cron: '0 0 * * 1,4' # Runs at 00:00 UTC on Monday and Thursday - cron: '0 0 * * 1,4' # Runs at 00:00 UTC on Monday and Thursday
pull_request:
branches: [ main ]
paths:
- 'packaging/debian/**' # Only run on changes to the debian packaging files
jobs: jobs:
test-packages: test-packages:
if: github.event_name == 'schedule' if: github.event_name == 'schedule' || github.event_name == 'pull_request'
name: Test Packages name: Test Packages
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:

View file

@ -7,9 +7,13 @@ on:
- '[0-9]+.[0-9]+.[0-9]+' - '[0-9]+.[0-9]+.[0-9]+'
schedule: schedule:
- cron: '0 0 * * 1,4' # Runs at 00:00 UTC on Monday and Thursday - cron: '0 0 * * 1,4' # Runs at 00:00 UTC on Monday and Thursday
pull_request:
branches: [ main ]
paths:
- 'packaging/rpm/**' # Only run on changes to the rpm packaging files
jobs: jobs:
test-package: test-package:
if: github.event_name == 'schedule' if: github.event_name == 'schedule' || github.event_name == 'pull_request'
name: Test Packages name: Test Packages
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: