-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (36 loc) · 962 Bytes
/
sidecar.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
42
43
44
name: Sidecar
permissions:
id-token: write
contents: read
on:
workflow_call:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log into Azure
uses: azure/#@v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ vars.SUBSCRIPTION }}
- name: Install c_aci_testing package
env:
GH_TOKEN: ${{ github.token }}
run: ./scripts/install-c-aci-testing.sh
- name: Install Azure CLI
env:
AZ_CLI_VERSION: 2.61.0
run: ./scripts/install-az-cli.sh
- name: Setup Docker
run: sudo usermod -aG docker $USER
- name: Run Test
run: |
source cacitesting.env
python -m unittest discover -s examples/sidecar