File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Python package
2+
3+ on : [push]
4+
5+ jobs :
6+ build :
7+ runs-on : ubuntu-latest
8+ strategy :
9+ matrix :
10+ python-version : [ "3.8", "3.9", "3.10", "3.11"]
11+ dependencies :
12+ - " flask==0.10.1 werkzeug==0.16.1" # pin werkzeug for Flask 10, 10.1 since Flask does not pin it itself.
13+ - " flask==0.10 werkzeug==0.16.1"
14+ - " flask==1.0"
15+ - " flask==1.1"
16+ - " flask==2.3.2"
17+ steps :
18+ - uses : actions/checkout@v3
19+ - name : Set up Python ${{ matrix.python-version }}
20+ uses : actions/setup-python@v4
21+ with :
22+ python-version : ${{ matrix.python-version }}
23+ # You can test your matrix by printing the current Python version
24+ - name : Install deps
25+ run : pip install -U setuptools pep8 coverage docutils pygments packaging ${{ matrix.dependencies }}
26+ - name : Run tests
27+ run : |
28+ coverage erase
29+ python setup.py clean build install
30+ nosetests --with-coverage --cover-package=flask_cors
You can’t perform that action at this time.
0 commit comments