File tree Expand file tree Collapse file tree 3 files changed +17
-6
lines changed
Expand file tree Collapse file tree 3 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 88 name : ' Test the code'
99 strategy :
1010 matrix :
11- python-version : ['3.8', '3.10']
11+ python-version : ['3.8', '3.10', '3.12' ]
1212 os : ['ubuntu-latest', 'windows-latest']
1313 runs-on : ${{ matrix.os }}
1414 steps :
1515 - name : Checkout
1616 uses : actions/checkout@v3
17+ with :
18+ fetch-depth : 0
1719 - name : Python setup
1820 uses : actions/setup-python@v4
1921 with :
2224 - name : Dependencies
2325 run : |
2426 python -m pip install --upgrade pip
25- pip install -r requirements.txt
2627 pip install pytest
2728 pip install pylint
2829 pip install pytest-cov
Original file line number Diff line number Diff line change 1+ try :
2+ from importlib .metadata import version
3+ except ImportError :
4+ # Python < 3.8
5+ from importlib_metadata import version
6+
7+ try :
8+ __version__ = version ("minimint" )
9+ except Exception :
10+ # Fallback for development installs
11+ __version__ = "unknown"
12+
13+ # For backward compatibility
14+ version = __version__
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments