Skip to content

Commit

Permalink
feat: better support for legacy python
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Apr 5, 2021
1 parent cc950d2 commit bf6f4ef
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Expand Up @@ -14,7 +14,12 @@ jobs:
steps:
- uses: actions/checkout@v1
- run: python --version
- run: pip install -r requirements.txt
- run: |
pip install -r requirements.txt
if: matrix.python-version != '2.7'
- run: |
pip install -r requirements.py2.txt
if: matrix.python-version == '2.7'
- run: ADAPTER=tiny python setup.py test
- run: pip install twine wheel
- run: python setup.py sdist bdist_wheel
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -11,5 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v1
- run: python --version
- run: pip install -r requirements.txt
- run: |
pip install -r requirements.txt
if: matrix.python-version != '2.7'
- run: |
pip install -r requirements.py2.txt
if: matrix.python-version == '2.7'
- run: ADAPTER=tiny python setup.py test
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -22,7 +22,7 @@ before_install:
- pip install --upgrade pip setuptools
install:
- if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then pip install "tinydb<4"; fi
- pip install -r requirements.txt
- pip install -r requirements.py2.txt
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install coveralls; fi
env:
- ADAPTER=mongo
Expand Down
4 changes: 4 additions & 0 deletions requirements.py2.txt
@@ -0,0 +1,4 @@
appier
pymongo
redis
tinydb<4
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,4 +1,4 @@
appier
pymongo
redis
tinydb<4
tinydb

0 comments on commit bf6f4ef

Please sign in to comment.