File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
22# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
33
4- name : CI Build - Python 3.4 -3.7
4+ name : CI Build - Python 3.5 -3.7
55
66on :
77 push :
@@ -17,14 +17,16 @@ jobs:
1717 strategy :
1818 fail-fast : false
1919 matrix :
20- python-version : ["3.4", "3. 5", "3.6", "3.7"]
20+ python-version : ["3.5", "3.6", "3.7"]
2121
2222 steps :
2323 - uses : actions/checkout@v4
2424 - name : Set up Python ${{ matrix.python-version }}
2525 uses : actions/setup-python@v5
2626 with :
2727 python-version : ${{ matrix.python-version }}
28+ env :
29+ PIP_TRUSTED_HOST : " pypi.python.org pypi.org files.pythonhosted.org"
2830 - name : Install dependencies
2931 run : |
3032 python -m pip install --upgrade pip
4143 coverage run -m pytest
4244 - name : Coveralls
4345 env :
44- COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_TOKEN }}
46+ COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
4547 run : |
4648 pip install coveralls
4749 coveralls
Original file line number Diff line number Diff line change 2828 - name : Install dependencies
2929 run : |
3030 python -m pip install --upgrade pip
31- python -m pip install flake8 pytest
31+ python -m pip install flake8 pytest coverage
3232 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3333 - name : Lint with flake8
3434 run : |
4141 coverage run -m pytest
4242 - name : Coveralls
4343 env :
44- COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_TOKEN }}
44+ COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
4545 run : |
4646 pip install coveralls
4747 coveralls
You can’t perform that action at this time.
0 commit comments