File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,23 @@ jobs:
2727 steps :
2828 - uses : actions/checkout@v2
2929
30- - name : Get history and tags for SCM versioning to work
30+ - name : Get history and tags for SCM versioning to work (Unix)
31+ if : runner.os != 'Windows'
3132 run : |
3233 if [ $(git rev-parse --is-shallow-repository) == "true" ]; then
3334 git fetch --prune --unshallow
3435 git fetch --depth=1 origin +refs/tags/*:refs/tags/*
3536 fi
3637
38+ - name : Get history and tags for SCM versioning to work (Windows)
39+ if : runner.os == 'Windows'
40+ run : |
41+ $value = git rev-parse --is-shallow-repository
42+ if ( $value -eq "true" ); then
43+ git fetch --prune --unshallow
44+ git fetch --depth=1 origin +refs/tags/*:refs/tags/*
45+ fi
46+
3747 - name : Setup Python ${{ matrix.python }}
3848 uses : actions/setup-python@v2
3949 with :
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ python_requires = >= 3
3333install_requires =
3434 matplotlib >= 2.2.3
3535 networkx >= 2
36- numpy
36+ numpy >= 1.17 # mainly for Qiskit
3737 requests
3838 scipy
3939
You can’t perform that action at this time.
0 commit comments