-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (29 loc) · 952 Bytes
/
pytest.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
# Runs the PR check script
# The workflow is named pytest.yml to maintain history in GitHub actions
name: Run PR checks
permissions:
id-token: write
contents: read
on:
pull_request:
branches:
- "*"
jobs:
build-and-run-pytest-suite-in-docker-compose:
runs-on: ubuntu-latest
steps:
- name: Checkout full code repo
uses: actions/checkout@v4
with:
fetch-depth: 0 # to allow git_context_processor.py to still work
- name: 'Login via Azure CLI'
uses: azure/login@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: 'Run PR check script'
env:
AZURE_CONFIG_STORAGE_ACCOUNT: ${{ secrets.AZURE_CONFIG_STORAGE_ACCOUNT }}
AZURE_CONFIG_FILE_SHARE: ${{ secrets.AZURE_CONFIG_FILE_SHARE }}
run: s/pr-check