File tree 2 files changed +9
-3
lines changed
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 28
28
python -m site
29
29
python -m pip install --upgrade pip setuptools wheel
30
30
python -m pip install -r dev-requirements.txt
31
+ - name : Install Package
32
+ run : |
33
+ python -m pip install .
31
34
- name : Run Tests for ${{ matrix.python-version }}
32
35
run : |
33
36
python -m pytest -vv
Original file line number Diff line number Diff line change 3
3
4
4
# This will fail if something happens or if not in a git repository.
5
5
# 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"
9
12
10
13
with open ("README.md" , 'r' , encoding = "utf-8" ) as readme :
11
14
long_description = readme .read ()
You can’t perform that action at this time.
0 commit comments