-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/arch-detect
- Loading branch information
Showing
5 changed files
with
42 additions
and
118 deletions.
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 |
---|---|---|
@@ -1,37 +1,42 @@ | ||
name: "Daily tests" | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
schedule: | ||
- cron: "25 08 * * *" | ||
|
||
workflow_dispatch: | ||
inputs: | ||
debug_enabled: | ||
type: boolean | ||
description: Debug with tmate | ||
required: false | ||
default: false | ||
ddev_version: | ||
type: string | ||
description: DDEV version to test | ||
required: false | ||
default: '["stable"]' | ||
test_type: | ||
type: string | ||
description: Test type to run. Can be "local" or "release" | ||
description: 'Debug with tmate set "debug_enabled"' | ||
required: false | ||
default: "release" | ||
schedule: | ||
- cron: "25 08 * * *" | ||
default: "false" | ||
|
||
env: | ||
# Allow ddev get to use a github token to prevent rate limiting by tests | ||
DDEV_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Required permissions for keep-alive, used by ddev/github-action-add-on-test | ||
permissions: | ||
actions: write | ||
|
||
jobs: | ||
run_tests: | ||
name: Run tests | ||
uses: oblakstudio/ddev-ioncube/.github/workflows/reusable_test_ddev_addon.yml@master | ||
with: | ||
ddev_version: '["stable", "HEAD", "edge"]' | ||
test_type: "release" | ||
keep-the-job-alive: | ||
name: Keep the job alive | ||
tests: | ||
strategy: | ||
matrix: | ||
ddev_version: [stable, HEAD] | ||
fail-fast: false | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gautamkrishnar/[email protected] | ||
- uses: ddev/github-action-add-on-test@v2 | ||
with: | ||
commit_message: "chore(cron): Keepalive workflow [skip ci]" | ||
ddev_version: ${{ matrix.ddev_version }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
debug_enabled: ${{ github.event.inputs.debug_enabled }} | ||
addon_repository: ${{ env.GITHUB_REPOSITORY }} | ||
addon_ref: ${{ env.GITHUB_REF }} |
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 |
---|---|---|
@@ -1,11 +1,16 @@ | ||
name: "Test DDEV Addon" | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- "README.md" | ||
- ".github/workflows/*.yml" | ||
merge_group: | ||
|
||
jobs: | ||
run_tests: | ||
name: Run tests | ||
uses: oblakstudio/ddev-ioncube/.github/workflows/reusable_test_ddev_addon.yml@master | ||
uses: oblakstudio/public-workflows/.github/workflows/ddev-test_addon.yaml@v1 | ||
secrets: inherit | ||
with: | ||
test_type: "local" | ||
os: '["ubuntu-latest"]' |
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
This file was deleted.
Oops, something went wrong.
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