-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Keepalive added to stale.yml * keepalive.yml added scheduled test added
- Loading branch information
1 parent
ff93437
commit 3cb07f3
Showing
3 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Keepalive Workflow | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
permissions: | ||
actions: write | ||
|
||
jobs: | ||
cronjob-based-github-action: | ||
name: Keepalive Workflow | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gautamkrishnar/keepalive-workflow@v2 | ||
with: | ||
workflow_files: "stale.yml, scheduled-test.yml" | ||
time_elapsed: "0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Kotlin SDK Scheduled Test | ||
|
||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ macos-latest, ubuntu-latest, windows-latest ] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: 17 | ||
distribution: zulu | ||
- name: Cache Konan | ||
uses: ./.github/actions/cache-konan | ||
- name: Cache Gradle | ||
uses: ./.github/actions/cache-gradle | ||
- name: Run all tests | ||
run: ./gradlew allTests --stacktrace | ||
shell: bash | ||
- name: Archive results | ||
if: failure() | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: test-results | ||
path: build/reports/tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ on: | |
jobs: | ||
stale: | ||
uses: configcat/.github/.github/workflows/stale.yml@master | ||
secrets: inherit | ||
secrets: inherit |