Move env var declaration to called workflow (#19085)

This commit is contained in:
Michael Anthony 2023-02-09 09:17:33 -07:00 committed by GitHub
parent 34fd57ac08
commit 074312dde2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -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]

View File

@ -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