Skip to content

Commit c7e85f8

Browse files
committed
Run armada integration tests on push and release
1 parent acd5311 commit c7e85f8

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Run integration tests
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
release:
7+
types: [ published ]
8+
workflow_dispatch:
9+
inputs:
10+
lane:
11+
description: "dev or latest"
12+
required: true
13+
default: latest
14+
15+
permissions:
16+
contents: read
17+
packages: read
18+
19+
jobs:
20+
run-integration-tests:
21+
uses: equinor/armada/.github/workflows/run_integration_tests.yml@main
22+
with:
23+
# Pick lane automatically based on event, or honor manual input
24+
lane: ${{ github.event_name == 'push' && 'dev'
25+
|| github.event_name == 'release' && 'latest'
26+
|| github.event_name == 'workflow_dispatch' && inputs.lane
27+
|| 'latest' }}
28+
29+
secrets:
30+
INTEGRATION_TEST_AZURE_CLIENT_SECRET: ${{ secrets.INTEGRATION_TEST_AZURE_CLIENT_SECRET }}

0 commit comments

Comments
 (0)