Skip to content

Commit

Permalink
Added nightly testing runs at 4:30am UTC
Browse files Browse the repository at this point in the history
  • Loading branch information
nfx committed Nov 14, 2024
1 parent 5236031 commit 3b52b3c
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: nightly

on:
workflow_dispatch:
schedule:
- cron: '30 4 * * *'

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

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

jobs:
integration:
environment: runtime
runs-on: larger
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Python
uses: actions/setup-python@v5
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.4.2
with:
vault_uri: ${{ secrets.VAULT_URI }}
timeout: 2h
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 3b52b3c

Please sign in to comment.