1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-03-14 06:38:32 +00:00

reword things

This commit is contained in:
Divy Jain 2021-01-04 02:48:07 +05:30
parent 70e94b2d5f
commit 9988e89bb5
No known key found for this signature in database
GPG Key ID: 45ABD8EE0FEC4C0B

View File

@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
pyversion: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
@ -15,7 +15,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.pyversion }}
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U wheel setuptools coveralls
@ -25,15 +25,15 @@ jobs:
run: |
flake8
- name: Run tests
if: ${{ matrix.os != 'ubuntu-latest' || matrix.pyversion != '3.8' }}
if: ${{ matrix.os != 'ubuntu-latest' || matrix.python-version != '3.8' }}
run: |
coverage run --source=thefuck,tests -m py.test -v --capture=sys tests
- name: Run tests (with functional)
if: ${{ matrix.os == 'ubuntu-latest' && matrix.pyversion == '3.8' }}
- name: Run tests (including functional)
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8' }}
run: |
coverage run --source=thefuck,tests -m py.test -v --capture=sys tests --enable-functional
- name: Post coverage results
if: ${{ matrix.os == 'ubuntu-latest' && matrix.pyversion == '3.8' }}
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |