更新 GitHub Actions 工作流,添加手动触发时的输入参数以运行测试
Some checks are pending
/ test-timezone (push) Waiting to run
/ services-test (push) Successful in 0s
/ hashFiles (push) Successful in 0s
/ go-hashfiles (push) Successful in 17s
/ job1 (push) Successful in 0s
/ job3 (push) Has been skipped
/ job2 (push) Successful in 0s
Some checks are pending
/ test-timezone (push) Waiting to run
/ services-test (push) Successful in 0s
/ hashFiles (push) Successful in 0s
/ go-hashfiles (push) Successful in 17s
/ job1 (push) Successful in 0s
/ job3 (push) Has been skipped
/ job2 (push) Successful in 0s
This commit is contained in:
6
.github/workflows/services-test.yaml
vendored
6
.github/workflows/services-test.yaml
vendored
@ -1,6 +1,11 @@
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
test:
|
||||
description: 'Run tests'
|
||||
required: true
|
||||
default: 'true'
|
||||
jobs:
|
||||
services-test:
|
||||
runs-on: ubuntu-latest
|
||||
@ -12,4 +17,5 @@ jobs:
|
||||
steps:
|
||||
- name: Test with Redis
|
||||
run: |
|
||||
echo ${{ github.event.inputs.test }}
|
||||
docker ps --format "table {{.Names}}"
|
Reference in New Issue
Block a user