Skip to content

Commit 4f5ef74

Browse files
authored
Added nightly tests run at 4:45am UTC (#318)
1 parent 5bcb6cc commit 4f5ef74

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: nightly
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '45 4 * * *'
7+
8+
permissions:
9+
id-token: write
10+
issues: write
11+
contents: read
12+
pull-requests: read
13+
14+
concurrency:
15+
group: single-acceptance-job-per-repo
16+
17+
jobs:
18+
integration:
19+
environment: runtime
20+
runs-on: larger
21+
steps:
22+
- name: Checkout Code
23+
uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
27+
- name: Install Python
28+
uses: actions/setup-python@v5
29+
with:
30+
cache: 'pip'
31+
cache-dependency-path: '**/pyproject.toml'
32+
python-version: '3.10'
33+
34+
- name: Install hatch
35+
run: pip install hatch==1.9.4
36+
37+
- name: Run nightly tests
38+
uses: databrickslabs/sandbox/acceptance@acceptance/v0.4.2
39+
with:
40+
vault_uri: ${{ secrets.VAULT_URI }}
41+
timeout: 2h
42+
create_issues: true
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
46+
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}
47+
TEST_NIGHTLY: true

0 commit comments

Comments
 (0)