Move env var declaration to called workflow (#19085)
This commit is contained in:
parent
34fd57ac08
commit
074312dde2
|
@ -4,13 +4,10 @@ on:
|
|||
# Change to nightly cadence once API-credential-requiring tests are added to the jobs
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
VAULT_ACC: 1
|
||||
|
||||
# Currently the jobs here are only for acceptance tests that have no dependencies except for Docker
|
||||
jobs:
|
||||
plugins-database:
|
||||
uses: ./.github/workflows/test-run-go-tests-for-path.yml
|
||||
uses: ./.github/workflows/test-run-acc-tests-for-path.yml
|
||||
strategy:
|
||||
matrix:
|
||||
name: [mongodb, mysql, postgresql]
|
||||
|
@ -19,7 +16,7 @@ jobs:
|
|||
path: plugins/database/${{ matrix.name }}
|
||||
|
||||
external:
|
||||
uses: ./.github/workflows/test-run-go-tests-for-path.yml
|
||||
uses: ./.github/workflows/test-run-acc-tests-for-path.yml
|
||||
strategy:
|
||||
matrix:
|
||||
name: [api, identity, token]
|
||||
|
|
|
@ -13,6 +13,9 @@ on:
|
|||
type: string
|
||||
# We will need to add the capacity for receiving passed secrets once we get to the tests that require API credentials
|
||||
|
||||
env:
|
||||
VAULT_ACC: 1
|
||||
|
||||
jobs:
|
||||
go-test:
|
||||
runs-on: ubuntu-latest
|
Loading…
Reference in New Issue