Skip to content

Commit 8f1f680

Browse files
author
Hanzhang Zeng (Roger)
committed
Merge branch 'release/1.5.0'
2 parents ddadbf9 + 4a24add commit 8f1f680

File tree

15 files changed

+1279
-207
lines changed

15 files changed

+1279
-207
lines changed

.github/workflows/gh-tests-ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Unittest pipeline
2+
3+
on:
4+
push:
5+
branches: [ dev ]
6+
pull_request:
7+
branches: [ dev ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
python_version: [3.6, 3.7, 3.8, 3.9]
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Python ${{ matrix.python_version }}
18+
uses: actions/setup-python@v2
19+
with:
20+
python-version: ${{ matrix.python_version }}
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
python -m pip install pytest-cov
25+
python -m pip install -U -e .[dev]
26+
- name: Test with pytest
27+
run: |
28+
pytest --cov=./azure --cov-report=xml --cov-branch tests
29+
- name: Codecov
30+
uses: codecov/[email protected]
31+
with:
32+
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
33+
file: ./coverage.xml # optional
34+
flags: unittests # optional
35+
name: codecov # optional
36+
fail_ci_if_error: false # optional (default = false)

.gitignore

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,11 @@ celerybeat-schedule
7979
# SageMath parsed files
8080
*.sage.py
8181

82-
# dotenv
83-
.env
84-
8582
# virtualenv
86-
.venv*
83+
.env*/
84+
.venv*/
8785
venv/
88-
ENV/
86+
env/
8987
py3env/
9088

9189
# Spyder project settings
@@ -110,4 +108,7 @@ py3env/
110108

111109
# PyCharm related files
112110
.idea/
113-
.idea_modules/
111+
.idea_modules/
112+
113+
# vscode setting
114+
.vscode/

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<img src="https://raw.githubusercontent.com/Azure/azure-functions-python-worker/dev/docs/Azure.Functions.svg" width = "180" alt="Functions Header Image">
22

3-
|Branch|Status|Coverage|
4-
|---|---|---|
5-
|master|[![Build Status](https://azfunc.visualstudio.com/Azure%20Functions%20Python/_apis/build/status/Azure%20Functions%20Python-CI?branchName=master)](https://azfunc.visualstudio.com/Azure%20Functions%20Python/_build/latest?definitionId=19&branchName=master)|![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/azfunc/Azure%20Functions%20Python/19/master)
6-
|dev|[![Build Status](https://azfunc.visualstudio.com/Azure%20Functions%20Python/_apis/build/status/Azure%20Functions%20Python-CI?branchName=dev)](https://azfunc.visualstudio.com/Azure%20Functions%20Python/_build/latest?definitionId=19&branchName=dev)|![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/azfunc/Azure%20Functions%20Python/19/dev)
3+
|Branch|Status|Coverage|CodeCov|
4+
|---|---|---|---|
5+
|master|[![Build Status](https://azfunc.visualstudio.com/Azure%20Functions%20Python/_apis/build/status/Azure%20Functions%20Python-CI?branchName=master)](https://azfunc.visualstudio.com/Azure%20Functions%20Python/_build/latest?definitionId=19&branchName=master)|![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/azfunc/Azure%20Functions%20Python/19/master)|[![codecov](https://codecov.io/gh/Azure/azure-functions-python-library/branch/master/graph/badge.svg)](https://codecov.io/gh/Azure/azure-functions-python-library)
6+
|dev|[![Build Status](https://azfunc.visualstudio.com/Azure%20Functions%20Python/_apis/build/status/Azure%20Functions%20Python-CI?branchName=dev)](https://azfunc.visualstudio.com/Azure%20Functions%20Python/_build/latest?definitionId=19&branchName=dev)|![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/azfunc/Azure%20Functions%20Python/19/dev)|[![codecov](https://codecov.io/gh/Azure/azure-functions-python-library/branch/dev/graph/badge.svg)](https://codecov.io/gh/Azure/azure-functions-python-library)
77

88
# Overview
99

azure/functions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@
5757
'WsgiMiddleware'
5858
)
5959

60-
__version__ = '1.4.0'
60+
__version__ = '1.5.0'

0 commit comments

Comments
 (0)