File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 2828 python -m site
2929 python -m pip install --upgrade pip setuptools wheel
3030 python -m pip install -r dev-requirements.txt
31+ - name : Install Package
32+ run : |
33+ python -m pip install .
3134 - name : Run Tests for ${{ matrix.python-version }}
3235 run : |
3336 python -m pytest -vv
Original file line number Diff line number Diff line change 33
44# This will fail if something happens or if not in a git repository.
55# This is intentional.
6- ret = subprocess .run ("git describe --tags --abbrev=0" , stdout = subprocess .PIPE ,
7- stderr = subprocess .PIPE , check = True , shell = True )
8- version = ret .stdout .decode ("utf-8" ).strip ()
6+ try :
7+ ret = subprocess .run ("git describe --tags --abbrev=0" , stdout = subprocess .PIPE ,
8+ stderr = subprocess .PIPE , check = True , shell = True )
9+ version = ret .stdout .decode ("utf-8" ).strip ()
10+ except :
11+ version = "master"
912
1013with open ("README.md" , 'r' , encoding = "utf-8" ) as readme :
1114 long_description = readme .read ()
You can’t perform that action at this time.
0 commit comments