Skip to content

Commit

Permalink
Make nightly tests automatically create issues (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
nfx authored Mar 27, 2024
1 parent 9bcf44e commit 1930792
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: nightly

on:
workflow_dispatch:
schedule:
- cron: '0 7 * * *'

permissions:
id-token: write
issues: write
contents: read
pull-requests: read

concurrency:
group: single-acceptance-job-per-repo

jobs:
integration:
environment: account-admin
runs-on: larger
steps:
- name: Checkout Code
uses: actions/[email protected]

- name: Unshallow
run: git fetch --prune --unshallow

- name: Install Python
uses: actions/setup-python@v4
with:
cache: 'pip'
cache-dependency-path: '**/pyproject.toml'
python-version: '3.10'

- name: Install hatch
run: pip install hatch==1.9.4

- name: Run nightly tests
uses: databrickslabs/sandbox/acceptance@acceptance/v0.2.0
with:
vault_uri: ${{ secrets.VAULT_URI }}
timeout: 45m
create_issues: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}
TEST_NIGHTLY: true

0 comments on commit 1930792

Please sign in to comment.