17
• Run make all, whi will install, lint, and test code.
• Setup Github Actions in pythonapp.yml
1 name: Azure Python 3.5
2 on: [push]
3 jobs:
4 build:
5 runs-on: ubuntu-latest
6 steps:
7 - uses: actions/checkout@v2
8 - name: Set up Python 3.5.10
9 uses: actions/setup-python@v1
10 with:
11 python-version: 3.5.10
12 - name: Install dependencies
13 run: |
14 make install
15 - name: Lint
16 run: |
17 make lint
18 - name: Test
19 run: |
20 make test
• Commit anges and push to Github
• Verify Github Actions Test Soware
• Run project in Azure Shell
Later you could expand this initial setup to allow for an exact continuous delivery workflow. is
initial project could be the starter kit to deploy the code to an Azure PaaS.