Skip to content

Commit

Permalink
feat(ci): bring back Quarkus native execution on PR and pushes
Browse files Browse the repository at this point in the history
Closes #5598
  • Loading branch information
squakez committed Jun 13, 2024
1 parent 54a0bbd commit 6f6c17b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,26 @@ name: native

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CAMEL_K_TEST_TIMEOUT_LONG: 30m
CAMEL_K_TEST_TIMEOUT_SHORT: 5m
CAMEL_K_TEST_TIMEOUT_MEDIUM: 10m
CAMEL_K_TEST_TIMEOUT_LONG: 15m
CAMEL_K_TEST_TIMEOUT_VERY_LONG: 60m

on:
pull_request:
types:
- labeled
- opened
- synchronize
- reopened
branches:
- main
- "release-*"
paths-ignore:
- 'docs/**'
- 'java/**'
- 'proposals/**'
- '**.adoc'
- '**.md'
- 'KEYS'
- 'LICENSE'
- 'NOTICE'
push:
branches:
- main
- "release-*"
Expand Down Expand Up @@ -66,7 +76,6 @@ concurrency:

jobs:
quarkus-native:
if: contains(github.event.pull_request.labels.*.name, 'trigger native test')
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/nightly-native-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ env:
CAMEL_K_TEST_TIMEOUT_LONG: 15m
CAMEL_K_TEST_TIMEOUT_VERY_LONG: 60m

# We can disable as at the moment we're running this check on each PR and push
# We keep the source in case it is required to be enabled again in the future.
on:
schedule:
- cron: '45 3 * * *'
Expand Down

0 comments on commit 6f6c17b

Please sign in to comment.