Skip to content

Commit 1930792

Browse files
authored
Make nightly tests automatically create issues (#1142)
1 parent 9bcf44e commit 1930792

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: nightly
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 7 * * *'
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: account-admin
20+
runs-on: larger
21+
steps:
22+
- name: Checkout Code
23+
uses: actions/[email protected]
24+
25+
- name: Unshallow
26+
run: git fetch --prune --unshallow
27+
28+
- name: Install Python
29+
uses: actions/setup-python@v4
30+
with:
31+
cache: 'pip'
32+
cache-dependency-path: '**/pyproject.toml'
33+
python-version: '3.10'
34+
35+
- name: Install hatch
36+
run: pip install hatch==1.9.4
37+
38+
- name: Run nightly tests
39+
uses: databrickslabs/sandbox/acceptance@acceptance/v0.2.0
40+
with:
41+
vault_uri: ${{ secrets.VAULT_URI }}
42+
timeout: 45m
43+
create_issues: true
44+
env:
45+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
47+
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}
48+
TEST_NIGHTLY: true

0 commit comments

Comments
 (0)