Skip to content

Commit 3ca65a1

Browse files
feat(health check): Disable health check and update tests github action, fixes #7 (#8)
* feat(health check): Disable health check and update tests github action * ci(tests): Update actions/checkout to v3 to use Node.js 16 and avoid deprecated warning
1 parent 19679b4 commit 3ca65a1

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ on:
1010
workflow_dispatch:
1111
inputs:
1212
debug_enabled:
13-
description: 'Debug with tmate set "debug_enabled"'
13+
type: boolean
14+
description: Debug with tmate
1415
required: false
15-
default: "false"
16+
default: false
1617

1718
defaults:
1819
run:
@@ -40,7 +41,7 @@ jobs:
4041
runs-on: ubuntu-20.04
4142

4243
steps:
43-
- uses: actions/checkout@v2
44+
- uses: actions/checkout@v3
4445
- name: Set up Homebrew
4546
id: set-up-homebrew
4647
uses: Homebrew/actions/setup-homebrew@master
@@ -71,13 +72,13 @@ jobs:
7172
- name: Download docker images
7273
run: |
7374
mkdir junk && pushd junk && ddev config --auto && ddev debug download-images >/dev/null
74-
docker pull memcached:1.6 >/dev/null
75+
7576
- name: tmate debugging session
7677
uses: mxschmitt/action-tmate@v3
7778
with:
7879
limit-access-to-actor: true
7980
github-token: ${{ secrets.GITHUB_TOKEN }}
80-
if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled }}
81+
if: github.event.inputs.debug_enabled == 'true'
8182

8283
- name: tests
8384
run: bats tests

docker-compose.redis-commander.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ services:
2323
depends_on:
2424
- redis
2525
healthcheck:
26-
timeout: 10s
26+
disable: true

0 commit comments

Comments
 (0)