-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
working requests, fix lack of effective venv in 2.7
- Loading branch information
1 parent
3a3a19d
commit 419d263
Showing
3 changed files
with
17 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ jobs: | |
pip install flake8 pytest | ||
pip install -r requirements.txt | ||
pip install -r test/requirements.txt | ||
python setup.py install | ||
python setup.py install --user | ||
- name: Run Linter | ||
run: | | ||
flake8 setup.py dropbox example test | ||
|
@@ -73,17 +73,17 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-13, windows-latest] | ||
python-version: [3.5, 3.6, 3.7, 3.8, pypy-3.7] | ||
exclude: | ||
- os: windows-latest | ||
python-version: 3.6 | ||
include: | ||
- os: ubuntu-20.04 | ||
python-version: 3.7 | ||
- os: ubuntu-20.04 | ||
python-version: 2.7 | ||
steps: | ||
os: [macos-13, windows-latest] | ||
python-version: [3.5, 3.6, 3.7, 3.8, pypy-3.7] | ||
exclude: | ||
- os: windows-latest | ||
python-version: 3.6 | ||
include: | ||
- os: ubuntu-20.04 | ||
python-version: 3.7 | ||
- os: ubuntu-20.04 | ||
python-version: 2.7 | ||
steps: | ||
- uses: actions/[email protected] | ||
- if: ${{ matrix.python-version == '2.7' }} | ||
name: Setup Python environment (2.7) | ||
|
@@ -102,7 +102,9 @@ jobs: | |
pip install flake8 pytest | ||
pip install -r requirements.txt | ||
pip install -r test/requirements.txt | ||
python setup.py install | ||
pip install setuptools wheel twine # XXX | ||
python setup.py bdist_wheel # XXX | ||
python setup.py install --user | ||
- name: Run Integration Tests | ||
env: | ||
LEGACY_USER_DROPBOX_TOKEN: ${{ secrets.LEGACY_USER_DROPBOX_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters