Skip to content

Commit b684d3a

Browse files
committed
Add test workflow
1 parent a5f11c4 commit b684d3a

1 file changed

Lines changed: 21 additions & 19 deletions

File tree

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,28 @@
1-
name: Test - Workflow for Testing
1+
name: Test workflow
22

33
on:
44
workflow_dispatch:
55

6-
inputs:
7-
ref:
8-
description: 'This is an example of an input'
9-
required: true
10-
11-
env:
12-
ASANA_PAT: ${{ secrets.ASANA_ACCESS_TOKEN }}
13-
GH_TOKEN: ${{ secrets.GT_DAXMOBILE }}
6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.ref }}
8+
cancel-in-progress: true
149

1510
jobs:
16-
test-workflow:
17-
runs-on: ubuntu-latest
18-
name: Add here whatever steps you want to test
19-
11+
resolve-commit:
12+
name: Resolve commit SHA
13+
runs-on: android-large-runner
14+
outputs:
15+
commit_sha: ${{ steps.resolve.outputs.commit_sha }}
2016
steps:
21-
- name: Checkout repository
22-
uses: actions/checkout@v4
23-
with:
24-
submodules: recursive
25-
token: ${{ secrets.GT_DAXMOBILE }}
26-
ref: ${{ github.event.inputs.ref }}
17+
- name: Resolve commit SHA
18+
id: resolve
19+
run: |
20+
echo "Using commit: ${{ github.sha }}"
21+
echo "commit_sha=${{ github.sha }}" >> $GITHUB_OUTPUT
22+
23+
call-end-to-end:
24+
needs: [resolve-commit]
25+
uses: ./.github/workflows/e2e-nightly-full-suite.yml
26+
with:
27+
commit: ${{ needs.resolve-commit.outputs.commit_sha }}
28+
secrets: inherit

0 commit comments

Comments
 (0)