Sidecar #209
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |