-
Notifications
You must be signed in to change notification settings - Fork 80
41 lines (34 loc) · 1.04 KB
/
acceptance.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: acceptance
on:
pull_request:
types: [ opened, synchronize, ready_for_review ]
permissions:
id-token: write
contents: read
pull-requests: write
jobs:
integration:
if: github.event_name == 'pull_request' && github.event.pull_request.draft == false
environment: account-admin
runs-on: larger
steps:
- name: Checkout Code
uses: actions/checkout@v2.5.0
- 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.7.0
- name: Run integration tests
uses: databrickslabs/sandbox/acceptance@acceptance/v0.1.0
with:
vault_uri: ${{ secrets.VAULT_URI }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_TENANT_ID: ${{ secrets.ARM_TENANT_ID }}