-
Notifications
You must be signed in to change notification settings - Fork 31
36 lines (34 loc) · 1.13 KB
/
e2e_tests.yml
File metadata and controls
36 lines (34 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Manual Trigger E2E tests in CircleCI
# configure manual trigger
on:
workflow_dispatch:
inputs:
branch:
description: "The branch to build"
required: true
status:
description: "Report test status"
default: false
type: boolean
required: true
jobs:
execute:
name: Start tests
runs-on: ubuntu-latest
steps:
- name: Trigger CircleCI 'local' workflow
if: ${{ github.event.inputs.status == 'false' }}
uses: promiseofcake/circleci-trigger-action@v1.7.8
with:
user-token: ${{ secrets.CIRCLECI_TOKEN }}
project-slug: slackapi/slack-cli
branch: ${{ github.event.inputs.branch }}
payload: '{"run_local_build_test_workflow": true}'
- name: Trigger CircleCI 'e2e' workflow
if: ${{ github.event.inputs.status == 'true' }}
uses: promiseofcake/circleci-trigger-action@v1.7.8
with:
user-token: ${{ secrets.CIRCLECI_TOKEN }}
project-slug: slackapi/slack-cli
branch: ${{ github.event.inputs.branch }}
payload: '{"run_local_build_test_workflow": false}'