From 3b52b3cfe8dbceff55e56dcae08efae693967dbf Mon Sep 17 00:00:00 2001 From: Serge Smertin Date: Thu, 14 Nov 2024 16:44:31 +0100 Subject: [PATCH] Added nightly testing runs at 4:30am UTC --- .github/workflows/nightly.yml | 47 +++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .github/workflows/nightly.yml diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000..4a24977 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -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