Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ jobs:
marker: 'integration'
pytest-params: "--json-report --json-report-file=.report.json"
notify-on-failure: true
# The provider keys and the Slack webhook live in this environment. Its branch rules
# refuse Run workflow on any branch other than main and accelerate.
environment: integration
secrets: inherit
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
uses: ./.github/workflows/run_tests.yml
with:
marker: 'integration'
# The provider keys live in this environment.
environment: integration
secrets: inherit

build-core:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ on:
required: false
default: false
type: boolean
environment:
description: 'Environment the test job runs in, for its provider keys; empty runs it in none'
required: false
default: ""
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -63,6 +68,8 @@ jobs:
test:
name: Test "${{ inputs.marker }}"
runs-on: ubuntu-latest
# The provider keys live in this environment, which only the branches that need them may enter.
environment: ${{ inputs.environment }}
env:
ASSEMBLYAI_API_KEY: ${{ secrets.ASSEMBLYAI_API_KEY }}
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
Expand Down
Loading